Skip to content

Commit 43b5ba0

Browse files
committed
[fix-dsig.py, fix-fstype.py] eliminated timestamp recalculation during post-compile OT table mods
1 parent 5681045 commit 43b5ba0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

postbuild_processing/fixes/fix-dsig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def main(argv):
3939
)
4040
sys.exit(1)
4141
else:
42-
font = ttLib.TTFont(path)
42+
font = ttLib.TTFont(file=path, recalcTimestamp=False)
4343
set_empty_dsig(font)
4444
font.save(path)
4545
print(path + " - successful DSIG table fix")

postbuild_processing/fixes/fix-fstype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main(argv):
3030
)
3131
sys.exit(1)
3232
else:
33-
font = TTFont(path)
33+
font = TTFont(file=path, recalcTimestamp=False)
3434
font['OS/2'].fsType = 0
3535
font.save(path)
3636
print(path + " - successful fstype fix")

0 commit comments

Comments
 (0)