I’m hoping someone can point me in the direction of some syntax examples for implementing language-specific ligatures. I’m not completely clueless, but I’ve yet to find anything that’s entirely clear to me either.
The reason: I’ve been looking at some free fonts which look promising, but they implement some ligatures that are only appropriate in French (ae -> æ, oe -> œ). Seeing words like dœs and shœs (or Gæilge) is a little disconcerting. I’d like to corral these, though I suppose I could also just delete them.
The problem table seems to be this...
feature rlig { # Required Ligatures
# Latin
sub A E by AE;
sub A e by AE;
sub O E by OE;
sub O e by OE;
sub a e by ae;
sub o e by oe;
script DFLT;
sub A E by AE;
sub A e by AE;
sub O E by OE;
sub O e by OE;
sub a e by ae;
sub o e by oe;
} rlig;
By looking at other fonts it seems that I would need to define languages somewhere by script, but it’s not clear where you would do that (ccmp table?).