From 27b013af09cfa9e05aa4ca021474989990346529 Mon Sep 17 00:00:00 2001 From: Colin Rofls Date: Tue, 5 Nov 2024 13:32:29 -0500 Subject: [PATCH] [fontc] Disable autohinting 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. --- Lib/gftools/builder/fontc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/gftools/builder/fontc.py b/Lib/gftools/builder/fontc.py index 5033248f..18d21b84 100644 --- a/Lib/gftools/builder/fontc.py +++ b/Lib/gftools/builder/fontc.py @@ -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"