fixed dumb error: recalcBBoxes goes into the TTFont constructor, not int TTFont.save.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@29 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
c9688161a6
commit
36db2a0c66
@ -36,6 +36,6 @@ else:
|
|||||||
print __doc__ % sys.argv[0]
|
print __doc__ % sys.argv[0]
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
tt = ttLib.TTFont(ttInFile, verbose=verbose)
|
tt = ttLib.TTFont(ttInFile, recalcBBoxes=recalcBBoxes, verbose=verbose)
|
||||||
tt.importXML(xmlPath)
|
tt.importXML(xmlPath)
|
||||||
tt.save(ttPath, recalcBBoxes=recalcBBoxes)
|
tt.save(ttPath)
|
||||||
|
@ -36,6 +36,6 @@ else:
|
|||||||
print __doc__ % sys.argv[0]
|
print __doc__ % sys.argv[0]
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
tt = ttLib.TTFont(ttInFile, verbose=verbose)
|
tt = ttLib.TTFont(ttInFile, recalcBBoxes=recalcBBoxes, verbose=verbose)
|
||||||
tt.importXML(xmlPath)
|
tt.importXML(xmlPath)
|
||||||
tt.save(ttPath, recalcBBoxes=recalcBBoxes)
|
tt.save(ttPath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user