I have an Arabic font engineered with a Cursive attachment, with many Glyphs Alternatives and Stylistic sets, All things going well, but I have a small inquiry, how can I make a contextual substitution with Stylistic Sets?
I can’t share any references now for this project, but I made a simple screenshot for you.
here the Rule
lookup returned_yeh { sub behDotless-ar.init’ [yeh-ar.ss16 alefMaksura-ar.fina.ss16] by behDotless-ar.init.ss16;
} returned_yeh;
You don’t need to write your own code, this can be completely automated. Just add the .ss16 glyphs to your font, update the feature code, and make sure the ss16 feature is ordered after the positional features (init, medi, fina, isol).
The idea here different from the default process, i have two yeh-ar.fina, one from them is in .ss16 this yeh need specific behDotless-ar.init which i put also in the same stylistic set, i need the yeh-ar.fina.ss16 is work always with behDotless-ar.init.ss16 not with the default behDotless-ar.init
@GeorgSeifert@mekkablue
my conclusion now is we can’t make a contextual sub., to a Stylistic set.
the problem is solved when I changed the feature from .ss16 to .cv01