Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

모든 중요한 변경 사항은 이 문서에 기록됩니다. 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)과 [Semantic Versioning](https://semver.org/lang/ko/)을 따릅니다.

## [Unreleased]
## [6.8.0] - 2026-10-06

`import hwpx`가 HWP 5.0 모듈과 `hwpx.tools`를 처음 쓸 때 읽도록 바꿔 가벼워진 릴리스입니다. FormFit은 글꼴
38종을 글꼴 파일의 설계 폭으로 재고, 수식 상자 폭은 한/글 저장값과의 평균 오차가 10.8%에서 3.6%로 줄었습니다.
그래서 FormFit이 고르는 글자 크기와 줄 수, `add_equation`이 쓰는 수식 상자 크기가 6.7.0과 달라질 수 있습니다.
`save_report`는 `.hwp` 경로를 HWP 5.0으로 씁니다. 쪽 수 추정(실험)은 개체·표·칸의 배치를 한/글 저장본에 맞춰
넓게 고쳤습니다. 코어는 6.7.0보다 약 6천 줄(7.7%) 늘었는데, 대부분 FormFit의 글꼴 폭 표(약 4,300줄)와 쪽 수
추정(약 1,300줄)입니다. `import hwpx`가 읽는 hwpx 모듈은 117개에서 97개로 줄었습니다. 저장 성공만으로 시각 품질을
보증하지 않습니다.

### 바꿈

Expand Down Expand Up @@ -47,9 +55,6 @@
읽고, 내보내기·뷰어·문서 비교·메일 머지 등은 읽지 않는다. 기존 import·객체·타입 정보와
`doc_diff` 함수 이름을 유지한다. HWPX Markdown 변환기의 배포판 버전 조회도 변환 시점으로
미뤄, `import hwpx`가 `importlib.metadata`를 읽지 않는다(#386).

### 고침

- 수식 상자 측정(`measure_equation`, `estimate_equation_size`)의 폭을 한/글이 저장한 상자에 더 가깝게 고친다.
합성 수식 말뭉치(132식 × 기준 크기 1000·1100·1300, macOS 한/글 저장값)에 대한 폭의 평균 절대 오차가
10.8%에서 3.6%로 준다(1000: 8.4→2.8%, 1100: 15.0→6.1%, 1300: 8.9→1.9%). 높이(2.5%)와 기준선(평균 0.9)은
Expand Down
22 changes: 22 additions & 0 deletions docs/size-history.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,28 @@
},
"importedModules": 117,
"importMs": 77
},
{
"version": "6.8.0",
"commit": "bead769",
"totalLines": 84040,
"packages": {
".": 7511,
"_document": 10873,
"equation": 1931,
"form_fit": 6723,
"hwp5": 11144,
"ingest": 395,
"layout": 4428,
"objects": 990,
"opc": 2033,
"oxml": 22898,
"plan": 900,
"quality": 1227,
"tools": 12987
},
"importedModules": 97,
"importMs": 65
}
]
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "python-hwpx"
version = "6.7.0"
version = "6.8.0"
description = "한글 없이 HWPX 문서를 열고, 편집하고, 생성하고, 검증하는 Python 문서 라이브러리"
readme = { file = "README.md", content-type = "text/markdown" }
license = "Apache-2.0"
Expand Down
Loading