So, I have, for example, alternate >j< named >j.ss01< and alt >k< named k.ss02. What is a proper name for ligature f+alternate j, or f+f+alternate k if I want them to be visible only of I choose stylistic set and discretionary ligs?
Or, ligature of two alternate >g<; g.ss05 + g.ss05?
I think, this was a misunderstanding. It is always the names of the parts connected by underscores, so x_x.ss01_x would be the middle x as ss01. The problem with x_x.ss01 is that the suffix at the end applies to the whole ligature. So in this case, you might have to do it manually.
you do not need to add a .dlig suffix. most ligatures end up in the dlig feature anyway.
You need to put the features in the right order. When the dlig feature is above the ssXX features, there are no ss01 glyphs in the glyph stream when the dlig feature is applied. So you either move the dlig feature below the ssXX features or use alternate ligatures in the ssXX features.
For the ligatures that include suffixes, the feature code generator does not work in all cases. Then you need to write them manually. disable the automatic generation of the dlig feature and add this line:
sub g.ss03 j.ss01 by g.ss03_j.ss01;
Ok, it is clear now. I understand the importance of correct order, my basic question was about proper naming, and than we (I) complicate everything.
f_f_j is ok, f_f_j.alt is ok. It doesn’t matter in which ss it sits.
Two alternates, g and j is g.alt_j.alt.
Is this correct?