Review comment update: Updated white-space and removed unused test data
This commit is contained in:
parent
de94613e08
commit
818a4a2d1e
@ -300,7 +300,7 @@ class TTFont(object):
|
||||
if progress:
|
||||
progress.set(i)
|
||||
tag = tables[i]
|
||||
if splitTables or (splitGlyphs and (tag == 'glyf')):
|
||||
if splitTables or (splitGlyphs and tag == 'glyf'):
|
||||
tablePath = fileNameTemplate % tagToIdentifier(tag)
|
||||
else:
|
||||
tablePath = None
|
||||
|
@ -39,7 +39,7 @@ usage: ttx [options] inputfile1 [... inputfileN]
|
||||
input to ttx, as long as the table files are in the
|
||||
same directory.
|
||||
-g Split glyf table: Save the glyf data into separate TTX files
|
||||
per glyph and write a small TTX for the glyph table which
|
||||
per glyph and write a small TTX for the glyf table which
|
||||
contains references to the individual TTGlyph elements.
|
||||
-i Do NOT disassemble TT instructions: when this option is given,
|
||||
all TrueType programs (glyph programs, the font program and the
|
||||
@ -165,7 +165,7 @@ class Options(object):
|
||||
elif option == "-s":
|
||||
self.splitTables = True
|
||||
elif option == "-g":
|
||||
self.splitGlyphs = True
|
||||
self.splitGlyphs = True
|
||||
elif option == "-i":
|
||||
self.disassembleInstructions = False
|
||||
elif option == "-z":
|
||||
@ -261,7 +261,7 @@ def ttDump(input, output, options):
|
||||
tables=options.onlyTables,
|
||||
skipTables=options.skipTables,
|
||||
splitTables=options.splitTables,
|
||||
splitGlyphs=options.splitGlyphs,
|
||||
splitGlyphs=options.splitGlyphs,
|
||||
disassembleInstructions=options.disassembleInstructions,
|
||||
bitmapGlyphDataFormat=options.bitmapGlyphDataFormat,
|
||||
newlinestr=options.newlinestr)
|
||||
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ttFont ttLibVersion="3.15">
|
||||
|
||||
<TTGlyph name=".notdef" xMin="65" yMin="-60" xMax="495" yMax="770">
|
||||
<contour>
|
||||
<pt x="65" y="770" on="1"/>
|
||||
<pt x="95" y="770" on="1"/>
|
||||
<pt x="95" y="-60" on="1"/>
|
||||
<pt x="65" y="-60" on="1"/>
|
||||
</contour>
|
||||
<contour.../>
|
||||
</TTGlyph>
|
||||
</ttFont>
|
Loading…
x
Reference in New Issue
Block a user