v5.1.11
Fixed two issues with anchor propagation in composite glyphs (#617, googlefonts/fontmake#682).
- marks that are in turn composed of other marks (e.g. "shadda_fatha-ar") didn’t receive propagated anchors at all. A solution was already developed in ufo2ft's
PropagateAnchorsFilter
, so Yanone ported that piece of code over here. - ligature anchors (top_1, top_2 etc) weren’t correctly propagated when composed of base glyphs and a mark (e.g. "lam_alefHamzaabove-ar"). To fix that, we now check for marks attached to a named
GSComponent.anchor
(stored in UFO asGlyph.lib['com.schriftgestaltung.Glyphs.ComponentInfo']
), and adjust the named anchor’s position by the component transformation.