[fix-dsig.py, fix-fstype.py] eliminated timestamp recalculation during post-compile OT table mods

pull/441/head
Chris Simpkins 2018-06-13 16:34:10 +07:00
parent 5681045fa2
commit 43b5ba04f0
2 changed files with 2 additions and 2 deletions

@ -39,7 +39,7 @@ def main(argv):
)
sys.exit(1)
else:
font = ttLib.TTFont(path)
font = ttLib.TTFont(file=path, recalcTimestamp=False)
set_empty_dsig(font)
font.save(path)
print(path + " - successful DSIG table fix")

@ -30,7 +30,7 @@ def main(argv):
)
sys.exit(1)
else:
font = TTFont(path)
font = TTFont(file=path, recalcTimestamp=False)
font['OS/2'].fsType = 0
font.save(path)
print(path + " - successful fstype fix")