I'm working on a typeface that features a few different digraphs, and I'm not sure how I should name them.
So here is the problem. I have a ligature for IJ, but I also have an alternate J. I_J.alt would be more of a contextual alternate than a ligature I reckon. So what's the best way to implement this? I want I J to change into the IJ digraph if both ss02 and discretionary ligatures are turned on. If ss02 is not turned on, IJ should be a ligature.
But then things get more complicated because I have iacute_jacute contextual alternates and ligatures, as well as an ordinary iacute jacute situation.
Now, the iacute jacute situation is defined in the locl feature:
sub iacute j' by jacute;
sub Iacute J' by Jacute;
But how do I set up calt, dlig and ss02? Also note that initially I was working with .loclNLD, but I ran into problems, hence I tried to find out if there was a more elegant solution using dlig and calt. I basically followed the Glyphs tutorial: https://www.glyphsapp.com/tutorials/localize-your-font-accented-dutch-ij