I'm new to Robofont and opentype features. This is in fact my first foray in producing a font. I've got a base character set and and alternate characters for many of them.
At the moment I am using stylistic alternates, but am finding that when I try to use the font in Illustrator or InDesign I change a character to it's alternate and all the following characters I type are also alternates when applicable. This doesn't happen all the time, only at certain times.
Tried using feature ss01 and ss02 to define the .salt1's and .salt2's but I got the same issue regardless.
Any advice on how to properly code multiple alternate characters and not have them replace base characters when typing would be appreciated.
Thanks
CODE:
feature aalt{
feature salt;
feature liga;
} aalt;
feature salt { # my Stylistic Alternates
sub a from [a.salt];
sub A from [A.salt];
sub three from [three.salt];
sub four from [four.salt];
sub five from [five.salt];
sub B from [B.salt B.salt2];
sub D from [D.salt];
sub E from [E.salt E.salt2];
sub F from [F.salt];
sub H from [H.salt];
sub I from [I.salt];
sub R from [R.salt];
sub u from [u.salt];
sub z from [z.salt];
sub Z from [Z.salt];
sub T from [T.salt];
sub N from [N.salt];
sub ampersand from [ampersand.salt];
} salt;
feature liga { # my Ligatures
sub f f by f_f.liga;
sub f i by f_i.liga;
sub f l by f_l.liga;
sub f f i by f_f_i.liga;
sub f f y by f_f_y.liga;
} liga;