Closed yanone closed 1 year ago
that's strange. When you dump with ttx do you not see any LookupType="5" (for MarkToLigature lookup subtables) in GPOS LookupList? Is this a VF or a static font? Try to see if you can reproduce with a minimal glyph set. If it stills has the issue, maybe remove the actual glyph drawings and upload a reproducer here, stripped of any proprietary stuff.
Reducing the font to the bare minimum actually helped me find the issue: The lam_alef
ligature shown is actually the result of a contextual substitution that shows a lower alef when marks are present. This lam_alef-ar.short
wasn’t getting categorized as a ligature by Georg’s WIP glyphsLib
branch that I need for the RTL kerning. If I set the subCategory
in Glyphs explicitly, it works. I've added a test case to Georg’s branch.
Here’s another anomaly with
ufo2ft
and my proprietary font (see https://github.com/googlefonts/ufo2ft/issues/658):The feature code as output by
--debug-feature-file
does contain ligature attachments:But the binary file doesn't contain ligature attachment, only base attachment:
I’ve searched the output of
otf2fea
and also couldn’t find anypos ligature
statements, so I truly believe they are missing from the font.This is happening both in
ufo2ft=2.28.0
as well as with the repository’s main. Please let me know if I can be of any help in debugging this.