Repository navigation
Sans 0.2: italic Cyrillic, OTF hinting, Latin Extended-A, kerning fixes - #8
Open
ricardofrantz wants to merge 2 commits into
Open
ricardofrantz wants to merge 2 commits into
ricardofrantz wants to merge 2 commits into
Conversation
- extend.py: italic Cyrillic slanted from the upright (as upstream made its Latin italic), long s and napostrophe. - OTF hinted with otfautohint (afdko 5.0.1, Python 3.13 venv); upright gets the italic stem values; CFF subroutinized again with cffsubr. - Short italic VF instance names (XLight, SemiBd, XBold Italic). - Kerning exceptions from kernaudit.py; Cyrillic look-alikes kern with their Latin groups. Overlapping pairs 326 -> 0. - OCR readability gate, new tests and proofs. Version 0.200. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UHtj1XPp34FFs8LVpY1PRF
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UHtj1XPp34FFs8LVpY1PRF
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
machine-made Sans 0.2 (font version 0.200). All changes are made by the scripts from the pinned upstream sources (
sans/scripts/fork.py, newsans/scripts/extend.py); no binary or outline is edited by hand. Fonts rebuilt and committed.sans/requirements-otf.txt). The upright source gets the italic's stem values. The CFF is subroutinized again with cffsubr 0.4.0 (pinned). Static TTF stay on ttfautohint. Variable fonts are left unhinted: ttfautohint-vf is unmaintained and has no pinned release (reasons insans/STATUS.md).sans/scripts/kernaudit.pymeasures 11,610 pairs. 47 upright and 31 italic exceptions (accented i after T V W Y F f P, Ľ before T V W X Y, Cyrillic ї, italic Yř), each the smallest value that leaves 20 units between the inks. Cyrillic look-alikes get the Latin kerning groups. Overlapping pairs across the 14 statics: 326 → 0.sans/STATUS.md,CHANGELOG.md,RELEASE-NOTES-0.2.md,README.md. OFL FAQ 5.10 confirmed on openfontlicense.org (RFN page). The CSSsize-adjustto match Weft's nominal x-height is 93.3 %; outlines are not scaled.sans.ymland thesansjob inrelease.ymlinstall Python 3.13 next to 3.14 for otfautohint;sans.ymlalso runs the OCR gate.sans-v0.2.0; a "New in 0.2" section with an italic Cyrillic line.Effect on machine-made.github.io (not edited): no advance width, word space or metric change. GPOS differs in 9 Latin-1 pairs (Fì Fî Tì Vì Wì Yì fì ¥ì Ýì).
src/style.cssandbrand.pyneed no change; regeneratemm-sans.woff2withfonts.pywhen the site takes 0.2.Checks
sans/tests: 249 passed.sans/STATUS.md.varLib.interpolatableon both master sets: no problems.Review
Please look at:
proofs/sans/sans-italic-cyrillic.png: upright and italic Cyrillic at 400 and 800, and the check of the slant method on Latin.proofs/sans/sans-kerning.png: before and after.proofs/sans/sans-coverage.png: Latin Extended-A and comma below.proofs/sans/sans-hinting-otf.png: OTF at 9 to 14 px, 0.1 against 0.2.Generated by Claude Code