I am generating a font with a custom .xml glyph source. Glyphs shows me that the ligatures are correctly identified as ligatures in the Glyph Info box:
However, mark positioning is not working on ligatures, which made me inspect the GDEF table, and indeed, here the section for ligatures is empty (the xxx is just a placeholder for glyph names):
table GDEF {
GlyphClassDef [xxx],# Base
, # Liga
[xxx], # Mark
;
} GDEF;
If that’s not a bug in Glyphs, how can I get it to work on my end? Thanks in advance.
Thanks Rainer, very odd. The marks are of course there and identified as marks, the anchors are there in standard form (_top and top). If I find the source of the problem I’ll post it here.
The GDEF categories are there to control certain aspects of the execution of GSUB or GPOS lookups. So if you have an IgnoreMarks flag in your code, all glyphs that are in the Mark class are ignored. But also only those in the Mark class are able to be positioned in the mark feature. The Ligature class is only needed for glyphs that are mentioned in the liga2mark feature. So putting them there and don’t mention them in the feature doesn’t change anything.