Skip to content

Commit

Permalink
[fontc] Disable autohinting
Browse files Browse the repository at this point in the history
If we're identical before autohinting that should be enough for our
purposes, and there was a non-deterministic crash in ttfautohint that
was causing noise in our crater results.
  • Loading branch information
cmyr committed Nov 5, 2024
1 parent ad287cc commit 27b013a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/gftools/builder/fontc.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def modify_config(self, config: dict):
config["buildWebfont"] = False
config["buildSmallCap"] = False
config["splitItalic"] = False
# disable running ttfautohint, because we had a segfault
config["autohintTTF"] = False
# set --no-production-names, because it's easier to debug
extra_args = config.get("extraFontmakeArgs") or ""
extra_args += " --no-production-names --drop-implied-oncurves"
Expand Down

0 comments on commit 27b013a

Please sign in to comment.