-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch changes the algorithm to avoid adding spacing pairs if glyphs will collide by computing glyph bounding boxes. This change includes following changes: * The language is now optional, because ink boudning box can discover the used language conventions of the fonts. * By default, specifying the languge disables the automatic detection by ink bounding box. * The dedicated Noto CJK support is removed, because the automatic detection can cover the Noto CJK fonts. Now the default builder can generate the same fonts as the previous dedicated builder. * A few glyph pairs change for Meiryo. All changes are diagnosed and verified. Updated reference files. API changes: * `Config.use_ink_bounds` is added to enable/disable the automatic collision detection. The default value is `True`. * `Config.skip_monospace_ascii` is added. This switch skips fonts whose ASCII characters are monospace. The default value is `True`. * `Config.fullwidth_space` is added, separated from `cjk_middle` because its glyph bounding boxes are different. * `Config.cjk_column_semicolon` was a typo, fixed to `cjk_colon_semicolon`. * `Config.is_colon_semicolon_middle` was removed.
- Loading branch information
Showing
22 changed files
with
453 additions
and
382 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.