Skip to content

Commit

Permalink
don't drop implied oncurves on interpolatable TTFs
Browse files Browse the repository at this point in the history
this should only be done at the end in the final VF, otherwise masters end up with incompatible glyphs...
  • Loading branch information
anthrotype committed Feb 6, 2024
1 parent e366e68 commit ca982e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/ufo2ft/_compilers/interpolatableTTFCompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 the final VF.
kwargs["dropImpliedOnCurves"] = False
outlineCompiler = self.outlineCompilerClass(ufo, glyphSet=glyphSet, **kwargs)
return outlineCompiler.compile()

Expand Down

0 comments on commit ca982e1

Please sign in to comment.