-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[why] Some fonts set specific lower resolutions and handle the small rendering very nicely. But fontforge does not copy that information when it opens a font; rather some default values are always written. That can destroy the small font rendering. The responsible settings are the 'ppem_to_int' flag and the 'lowestRecPPEM' setting, both in the HEAD table. [how] After successfully patching and generating the new font we copy that settings over from the source font. Instead of using fontTools (and thereby requiring all users to pull that dependency) we handle the raw font file changes ourselves. Fixes: 612 Reported-by: nojus297 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
- Loading branch information
Showing
1 changed file
with
126 additions
and
3 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