From e275a9d47754c8d50857d38ca45a9e7716a757e4 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 6 Feb 2024 17:02:53 +0000 Subject: [PATCH] don't drop implied oncurves on interpolatable TTFs this should only be done at the end in the final VF, otherwise masters end up with incompatible glyphs... --- Lib/ufo2ft/_compilers/interpolatableTTFCompiler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/ufo2ft/_compilers/interpolatableTTFCompiler.py b/Lib/ufo2ft/_compilers/interpolatableTTFCompiler.py index a5d8b0fb..4244a067 100644 --- a/Lib/ufo2ft/_compilers/interpolatableTTFCompiler.py +++ b/Lib/ufo2ft/_compilers/interpolatableTTFCompiler.py @@ -75,6 +75,9 @@ def compileOutlines(self, ufo, glyphSet, layerName=None): # can compute impliable on-curve points from unrounded coordinates before # building the VF kwargs["roundCoordinates"] = False + # keep impliable oncurve points in the interpolatable master TTFs, they will + # be pruned at the end by varLib in the final VF. + kwargs["dropImpliedOnCurves"] = False outlineCompiler = self.outlineCompilerClass(ufo, glyphSet=glyphSet, **kwargs) return outlineCompiler.compile()