From 5d1429ddb6dc1a299711f8318295d238a0e1fef2 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Mon, 7 Aug 2023 15:33:18 +0100 Subject: [PATCH] Provide UFO structure --- Lib/gftools/builder/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/gftools/builder/__init__.py b/Lib/gftools/builder/__init__.py index 31492bd55..560c22538 100644 --- a/Lib/gftools/builder/__init__.py +++ b/Lib/gftools/builder/__init__.py @@ -389,6 +389,9 @@ def run_fontmake(self, source, args): args["check_compatibility"] = self.config["checkCompatibility"] if "glyphData" in self.config: args["glyph_data"] = self.config["glyphData"] + # The following line should be removed once we require + # fontmake >= 3.7.1 + args["ufo_structure"] = "package" FontProject().run_from_glyphs(source, **args) elif source.endswith(".designspace"): args["check_compatibility"] = self.config["checkCompatibility"]