forked from fonttools/fonttools
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{v,h}mtx: allow to compile/decompile even without {v,h}hhea table
when no horizontal/vertical header table is present, we assume numberOfHMetrics == maxp.numGlyphs. This allows to compile/decompile incomplete fonts, only containing head, maxp, hmtx, loca and glyf (or CFF), that is the bare minimum to temporarily store glyph outline and metrics data for use with sparse/intermediate master TTFs in varLib. See googlefonts/ufo2ft#308
- Loading branch information
1 parent
36da84d
commit 8350332
Showing
2 changed files
with
64 additions
and
14 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