I checked it only in the Glyphs app as I mentioned, where that additional lookup was not applied in isolation. It caused interference with previous calt code, so was in fact not isolated, apparently. I’ve now tested the exported font in response to your reply. Neither apply the code as I believe it instructs, and both deal with it differently. I will say exactly how below, but first:
I have taken a closer look and I believe I may have found the cause connected with it - in the lookup above this lookup, there is included:
lookupflag IgnoreMarks;
I had problems previously with that lookup with what seemed to be the IgnoreMarks interfering with all the lookups below it relating to marks. That’s why I moved it to the bottom, to stop that. This new lookup also involves marks (colon and semicolon are marks in this font, and that has caused no issues at all so far even if this sounds unusual). I may be mistaken - but, are lookups including IgnoreMarks commands known to cause some interference with separate lookups below them dealing with marks?
So, this is the code for this new lookup, which comes last in the calt feature:
lookup SMALL {
ignore sub @base_reg’ [colon semicolon];
sub @base_reg’ by @base_reg_001;
} SMALL;
In the exported font (in Pages on Mac), this gets applied:
sub @base_reg’ by @base_reg_001;
But this does not (i.e. this sub is not ignored):
ignore sub @base_reg’ [colon semicolon];
This is why I suspect this may be the same issue I had before as explained above - IgnoreMarks leaking downwards through lookups.
In the Glyphs app in edit view, both lines of code get applied, but that messes with the rest of the calt code, - the glyph that comes after @base_reg’ [colon semicolon] also changes, so it should not because by the time it reaches this lookup aleady be base_1 , not base_reg, and so should be unaffected. … hmm I just tested and actually even removing this code doesn’t make it rest of the IgnoreMarks-involved calt code work in Glyphs preview… maybe there is something I forgot… does the IgnoreMarks calt code only take effect on the exported font, not in edit view?
Anyway is there a way I can get this code to work? Maybe I made it wrongly? Or if it is indeed the IgnoreMarks command in the separate lookup above it that is causing problem, what can I do? I can’t put it above since I still need this operation to come after the rest of the calt code. Is there a convenient solution?
Thank you!