Quantcast
Channel: TypeDrawers
Viewing all articles
Browse latest Browse all 4153

Opentype feature auto-disable?

$
0
0
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.

Viewing all articles
Browse latest Browse all 4153

Trending Articles