diff --git a/Lib/fontTools/ttLib/__init__.py b/Lib/fontTools/ttLib/__init__.py index 6170113e0..ed5d4276a 100644 --- a/Lib/fontTools/ttLib/__init__.py +++ b/Lib/fontTools/ttLib/__init__.py @@ -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 diff --git a/Lib/fontTools/ttx.py b/Lib/fontTools/ttx.py index a3967259b..4bdf43ce5 100644 --- a/Lib/fontTools/ttx.py +++ b/Lib/fontTools/ttx.py @@ -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) diff --git a/Tests/misc/data/xmlSubFile.xml b/Tests/misc/data/xmlSubFile.xml deleted file mode 100644 index b0e89903b..000000000 --- a/Tests/misc/data/xmlSubFile.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file