forked from googlefonts/ufo2ft
-
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.
only build minimal metrics/outline tables for sparse layer masters
Fixes googlefonts#308 The OutlineCompiler classes gets a tables keyword argument that allows to customize the list of tables to be built. For the interpolatable sparse masters (those built from non-default layer) we only build (head, maxp, {h,v}mtx, loca, glyf, and post) for TTF, and (head, maxp, CFF, {h,v}mtx and VORG) for CFF-OTF. NOTE that varLib still doesn't support vmtx or VORG, but we output them anyway.
- Loading branch information
1 parent
e01ffc3
commit 8f2a242
Showing
6 changed files
with
151 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
from __future__ import absolute_import, unicode_literals | ||
|
||
SPARSE_TTF_MASTER_TABLES = frozenset( | ||
["glyf", "head", "hmtx", "loca", "maxp", "post", "vmtx"] | ||
) | ||
SPARSE_OTF_MASTER_TABLES = frozenset(["CFF ", "VORG", "head", "hmtx", "maxp", "vmtx"]) | ||
|
||
UFO2FT_PREFIX = 'com.github.googlei18n.ufo2ft.' | ||
GLYPHS_PREFIX = 'com.schriftgestaltung.' | ||
UFO2FT_PREFIX = "com.github.googlei18n.ufo2ft." | ||
GLYPHS_PREFIX = "com.schriftgestaltung." | ||
|
||
USE_PRODUCTION_NAMES = UFO2FT_PREFIX + "useProductionNames" | ||
GLYPHS_DONT_USE_PRODUCTION_NAMES = GLYPHS_PREFIX + "Don't use Production Names" |
Oops, something went wrong.