Add Postscript blue zones for letters and numbers #188
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 of the Pull Request
Add Postscript blue zones that enclose letters and common numbers and define vertical and horizontal stem widths. This helps with autohinting OTFs.
PR Checklist
Closes #xxxIssue number where discussion took place: #xxxDetailed Description of the Pull Request / Additional comments
When not producing TTFs but OTFs, hinting is a matter of running https://github.com/adobe-type-tools/psautohint/ on the resulting binary. For the autohinter to do its job, it needs to know the standard widths of a font plus so-called blue zones, which tell the tool which heights points of a glyph should be snapped to. They also help with consistency in the design phase, because e.g. Glyphs will indicate when a point is within or outside a blue zone.
TTFs are unaffected by this change since the format does not use them.
Before (if applicable) andAfter Images of the Character(s)Validation Steps Performed
Manually looking at the resulting font in a terminal and in VSCode.