Conversation
…ace's width FormFit took the design advance of a few dozen punctuation marks and symbols per face and class averages for everything else. It now reads the KS X 1001 symbols and full-width forms, and the Latin-1, Latin Extended-A, General Punctuation, Mathematical Operators, Geometric Shapes, Miscellaneous Symbols, Dingbats and Halfwidth and Fullwidth Forms blocks of twelve faces, from a table read from the font files (form_fit/_glyph_table.py). A glyph a face lacks takes the advance of the face Hancom lays it out from, moved into the face's own units. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
PR 처리 담당입니다. 폭 표를 글꼴 파일(
참고: 바탕·굴림·돋움·궁서·맑은 고딕·Segoe UI Symbol에서 뽑은 설계 폭을 공개 저장소에 싣는 것은 오너께 한 번 확인받는 편이 좋겠습니다. 글꼴 파일이 아니라 폭 수치라서 위험은 낮다고 봅니다. 🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The symbol widths test compared the table with values taken from the table. It is replaced by a fixture Hancom laid out and saved: each cell holds a symbol and five Hangul syllables at one of the two widths where its line breaks change, covering a face lacking the symbol (drawn from its fallback face, in faces of 1000, 1024 and 2048 units per em), the Greek of 함초롬돋움, 한컴 고딕's я and plain design advances. FormFit's line count matches Hancom's line cache in every cell; before the table 11 of the 24 cells differed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
리뷰 고맙습니다. 요청대로 바꿨습니다(cf0c478).
🤖 Generated with Claude Code |
|
PR 처리 담당입니다. cf0c478을 확인했습니다.
남은 것은 설계 폭 수치를 공개 저장소에 싣는 것에 대한 오너 확인뿐입니다. 확인이 오면 CI 녹색을 보고 머지하겠습니다. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
오너 확인을 받았습니다. 이 PR의 글자별 설계 폭 수치(바탕·굴림·돋움·궁서·맑은 고딕·한컴 고딕·함초롬 계열과 대신 그리는 Segoe UI Symbol)를 공개 저장소에 싣습니다. 수치만 싣고 글꼴 파일이나 글자 윤곽은 싣지 않습니다. main을 합쳤습니다(7bf49b8). 충돌은 🤖 Generated with Claude Code |
# Conflicts: # docs/architecture/module-ownership.json # tests/test_form_fit_hancom_rules.py # tests/test_product_boundary.py
|
main(edda201)을 합쳐 올렸습니다(7a87b83).
|
…dvances The glyph table lists the symbol faces Wingdings and Symbol: their glyphs at the private-use code points U+F020-F0FF documents store them at, each at its design advance read from the font. A face only the glyph table lists has no Hangul or space of its own; its other characters keep the class averages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Hancom 25 rows under the bullet U+F09F in its own Wingdings shape with its own width on, laid out and saved by Hancom: the label takes the glyph's design advance (456 at 10 pt) and the half-em gap, and every row breaks where Hancom broke it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…advances HY헤드라인M joins the glyph table at its design advances. The glyphs it lacks take 함초롬바탕's advance moved into its units, and so does the grave accent; я and ✀ carry the advance Hancom lays them out at. Every text face also gains the Currency Symbols block (₩ and the rest), which the table left to the class averages. The new test reads 22 cells Hancom laid out and saved: a glyph and five Hangul syllables in HY헤드라인M at the two widths where the line count changes, at 30 pt and 10 pt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
휴먼명조 joins the glyph table at its design advances, read from the face's font file; the glyphs it lacks take 함초롬바탕's advance moved into its units. A new test pins a few of them. The test that measured ○ in a face the table does not list used 휴먼명조 cells; it now measures them with 휴먼명조's advances and with the face left unnamed, and Hancom's line counts hold for both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
글꼴 넷을 더한 커밋을 올렸습니다. PR 본문도 함께 고쳤습니다.
글자별 설계 폭 수치만 싣고, 글꼴 파일이나 글자 윤곽은 싣지 않습니다. 전체 테스트와 게이트(hygiene, ruff, generics, census, mypy, pyright)가 통과했고, coverage ledger는 main과 같습니다. 🤖 Generated with Claude Code |
# Conflicts: # CHANGELOG.md
|
main(505bb2f)을 합쳤습니다. 충돌은 CHANGELOG뿐이었습니다. 6.7.0 릴리스로 이 PR 항목이 들어 있던 |
# Conflicts: # CHANGELOG.md
# Conflicts: # src/hwpx/form_fit/measure.py
바뀐 점
_GLYPHS의 글자, 한글 음절, 공백을 글꼴의 설계 폭으로 잰다. 글꼴에 없는 글자는 함초롬바탕의 폭을 쓴다._design_units가 폭 표에서 읽는다.hwpx/form_fit/_glyph_table.py에 있다. 글꼴 파일의hmtx·cmap에서 읽은 값이다._GLYPHS)에서 0이던 글자, 곧 글꼴에 없던 글자도 이제 이 규칙을 따른다. 글꼴에 있어도 한/글이 대신 그리는 글꼴로 놓는 글자(HY헤드라인M의`)는 0으로 둔다.я, HY헤드라인M의✀등).docs/architecture/module-ownership.json에 새 모듈을 올린다.테스트
tests/test_form_fit_hancom_rules.pyя, 글꼴에 없어 대신 그리는 글자.tests/test_product_boundary.py: 분류된 파일 수를 179로 바꾼다.🤖 Generated with Claude Code