canonical / Ubuntu-Sans-fonts

Other
54 stars 4 forks source link

Spacing Greek diacritics are treated like combining marks #107

Closed dscorbett closed 10 months ago

dscorbett commented 11 months ago

Some spacing Greek diacritics combine with preceding glyphs. Their anchor points should be removed so they can be spacing.

α΄α΅αια᾿α῀α῁α῍α῎α῏α῝α῞α῟α῭α`α´α῾

djrrb commented 11 months ago

This is related to #25, which we had decided to let be for simplicity’s sake.

@guidoferreyra @glenda-tn What would you think about keeping the anchors in the source files, and stripping them out in the build process? This way we can still use these to assemble the glyphs without making a duplicate set, but just remove their anchors in the final font.

glenda-tn commented 11 months ago

@djrrb if that can be done (removing anchors in the build process) then yes, please do it as this has regressed a couple times now. Those marks should be spacing.

djrrb commented 11 months ago

Looks like there is a recent discussion about this that might spark some changes to Glyphsapp:

https://forum.glyphsapp.com/t/fontbakery-warn-check-glyphs-in-mark-glyph-class-are-non-spacing/26414/13

There is a temporary measure that fixes the GDEF class with fontTools, that we could try to adapt:

https://github.com/mekkablue/Glyphs-Scripts/blob/66337f87944c73367b3bcaf10584a2f934756f96/Post%20Production/Fix%20GDEF%20class%20definition%20of%20Legacy%20Marks.py

guidoferreyra commented 11 months ago

I will see to implement this on the building script ASAP.