Default to non-lazy for ttx
This commit is contained in:
parent
7ef23a85ae
commit
188f2a398a
@ -171,7 +171,7 @@ class Options:
|
||||
|
||||
def ttList(input, output, options):
|
||||
import string
|
||||
ttf = TTFont(input, fontNumber=options.fontNumber)
|
||||
ttf = TTFont(input, fontNumber=options.fontNumber, lazy=True)
|
||||
reader = ttf.reader
|
||||
tags = reader.keys()
|
||||
tags.sort()
|
||||
@ -194,6 +194,7 @@ def ttDump(input, output, options):
|
||||
if not options.quiet:
|
||||
print 'Dumping "%s" to "%s"...' % (input, output)
|
||||
ttf = TTFont(input, 0, verbose=options.verbose, allowVID=options.allowVID,
|
||||
lazy=False,
|
||||
quiet=options.quiet,
|
||||
ignoreDecompileErrors=options.ignoreDecompileErrors,
|
||||
fontNumber=options.fontNumber)
|
||||
@ -211,6 +212,7 @@ def ttCompile(input, output, options):
|
||||
if not options.quiet:
|
||||
print 'Compiling "%s" to "%s"...' % (input, output)
|
||||
ttf = TTFont(options.mergeFile,
|
||||
lazy=False,
|
||||
recalcBBoxes=options.recalcBBoxes,
|
||||
verbose=options.verbose, allowVID=options.allowVID)
|
||||
ttf.importXML(input, quiet=options.quiet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user