googlefonts / glyphsLib

A bridge from Glyphs source files (.glyphs) to UFOs
Apache License 2.0
178 stars 51 forks source link

[anchor_propagation] the last component's anchor wins for non-liga composites (e.g. DZ) #1007

Open anthrotype opened 3 weeks ago

anthrotype commented 3 weeks ago

https://github.com/googlefonts/glyphsLib/issues/368#issuecomment-2103376997

For non-ligature glyphs, you should get the anchors from the last component they show up. I just tried the DZ in Glyphs. The D and Z have a "top" anchor so you get the one from the Z. The D has a center anchor (for the bar to make a "Eth"). As the Z doesn’t have a center have it, you get the one from the D.