2
0
Эх сурвалжийг харах

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

Chris Simpkins 7 жил өмнө
parent
commit
43b5ba04f0

+ 1 - 1
postbuild_processing/fixes/fix-dsig.py

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

+ 1 - 1
postbuild_processing/fixes/fix-fstype.py

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