Update for UFO naming of glyph files and make -g ttx parameter force -s

This commit is contained in:
Bill Amidei 2017-12-19 10:43:46 -08:00 committed by Cosimo Lupo
parent 232e2b8467
commit abed27fd8c
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -41,6 +41,7 @@ usage: ttx [options] inputfile1 [... inputfileN]
-g Split glyf table: Save the glyf data into separate TTX files
per glyph and write a small TTX for the glyf table which
contains references to the individual TTGlyph elements.
NOTE: specifying -g implies -s (no need for -s together with -g)
-i Do NOT disassemble TT instructions: when this option is given,
all TrueType programs (glyph programs, the font program and the
pre-program) will be written to the TTX file as hex data
@ -165,7 +166,9 @@ class Options(object):
elif option == "-s":
self.splitTables = True
elif option == "-g":
# -g implies (and forces) splitTables
self.splitGlyphs = True
self.splitTables = True
elif option == "-i":
self.disassembleInstructions = False
elif option == "-z":