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):
|
def ttList(input, output, options):
|
||||||
import string
|
import string
|
||||||
ttf = TTFont(input, fontNumber=options.fontNumber)
|
ttf = TTFont(input, fontNumber=options.fontNumber, lazy=True)
|
||||||
reader = ttf.reader
|
reader = ttf.reader
|
||||||
tags = reader.keys()
|
tags = reader.keys()
|
||||||
tags.sort()
|
tags.sort()
|
||||||
@ -194,6 +194,7 @@ def ttDump(input, output, options):
|
|||||||
if not options.quiet:
|
if not options.quiet:
|
||||||
print 'Dumping "%s" to "%s"...' % (input, output)
|
print 'Dumping "%s" to "%s"...' % (input, output)
|
||||||
ttf = TTFont(input, 0, verbose=options.verbose, allowVID=options.allowVID,
|
ttf = TTFont(input, 0, verbose=options.verbose, allowVID=options.allowVID,
|
||||||
|
lazy=False,
|
||||||
quiet=options.quiet,
|
quiet=options.quiet,
|
||||||
ignoreDecompileErrors=options.ignoreDecompileErrors,
|
ignoreDecompileErrors=options.ignoreDecompileErrors,
|
||||||
fontNumber=options.fontNumber)
|
fontNumber=options.fontNumber)
|
||||||
@ -211,6 +212,7 @@ def ttCompile(input, output, options):
|
|||||||
if not options.quiet:
|
if not options.quiet:
|
||||||
print 'Compiling "%s" to "%s"...' % (input, output)
|
print 'Compiling "%s" to "%s"...' % (input, output)
|
||||||
ttf = TTFont(options.mergeFile,
|
ttf = TTFont(options.mergeFile,
|
||||||
|
lazy=False,
|
||||||
recalcBBoxes=options.recalcBBoxes,
|
recalcBBoxes=options.recalcBBoxes,
|
||||||
verbose=options.verbose, allowVID=options.allowVID)
|
verbose=options.verbose, allowVID=options.allowVID)
|
||||||
ttf.importXML(input, quiet=options.quiet)
|
ttf.importXML(input, quiet=options.quiet)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user