Stylistic Alternates for ligatures [solved]

4thfebruary's picture

Need a help with OT code :)

Have two versions of ligatures, s_t, and s_t.salt for example.

I write code

feature dlig { # or liga
sub s t by s_t;
} dlig;

feature salt {
sub s_t by s_t.salt;
} salt;

with this code replacing of s_t not work when I turn on both features.

Maybe someone known how to do?

Thanks in advance!

4thfebruary's picture

salt must be after liga/dlig feature :)

Mark Simonson's picture

How are you testing this? I'm having this problem with InDesign, but not elsewhere. (See: this thread comment.) (salt does follow dlig and liga in my code.)

4thfebruary's picture

I'm test in FL and Photoshop CS5 only, don't have another software :(

Syndicate content Syndicate content