Hi, When composite glyphs have components with ARGS_ARE_XY_VALUES false, i.e. arg1 and arg2 are matched point indeces, `ttfautohint --composites` incorrectly increments the second matched point index. It should only change the second matched point if the component glyph has changed point indeces instead of all the time.
For example, when Molengo-Reular.ttf (from https://github.com/moyogo/molengo-fonts/releases/download/v0.10/Molengo-fonts-0.10.tar.gz) goes through ttfautohint --composites, the composite glyphs are broken. The gravecomb glyph does not have any point index changes. However it is used as a component in Agrave, while ttfautohint correctly increments the first matched point, i.e. the point index to match on the whole composite Agrave, it also incorrectly increments the second matched point index (arg2), i.e. the point index being matched on gravecomb. The first point needs to be incremented since a '.ttfautohint' component with one point is added as the first component. But the second point should not since no point index where changed in gravecomb. Cheers,
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel