I've been searching around for any way to automatically disable an open type feature when a second feature is activated (within the opentype coding). For example, I don't want discretionary ligatures to be on when the user switches to smallcaps. I am imaging something like:
feature smcp { #Small Capitals
# DEFAULT script latn;
feature @dlig = off;
sub @lowercase by @smallcaps;
} smcp;
Of course 'feature @dlig = off' doesn't exist, but is something like this possible? I find building small cap ligatures an inelegant solution.
feature smcp { #Small Capitals
# DEFAULT script latn;
feature @dlig = off;
sub @lowercase by @smallcaps;
} smcp;
Of course 'feature @dlig = off' doesn't exist, but is something like this possible? I find building small cap ligatures an inelegant solution.