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:
Just 1999-12-23 12:31:19 +00:00
parent c9688161a6
commit 36db2a0c66
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)