Ok, I must be doing something wrong, or probably going about this the wrong way.
I’d like to have a typeface where every character is dependent on the character that precedes, or follows it.
I’m beginning very simply - just two characters ‘A’ and ‘O’.
In addition to ‘A’ and ‘O’ I have made these .alt:
AL.alt <-(A left side)
AR.alt <-(A right side)
OL.alt <-(O left side)
OR.alt <-(O right side)
AROL.alt <-(A right side, O left side)
ORAL.alt <-(O right side, A left side)
OROL.alt <-(O right side, O left side)
in Features, under calt I have this code:
sub A by AL.alt AR.alt;
sub O by OL.alt OR.alt;
sub AR.alt OL.alt by AROL.alt;
sub OR.alt AL.alt by ORAL.alt;
sub OR.alt OL.alt by OROL.alt;
when I type:
AOAOOA (with contextual alternates turned on in the viewer)
i get this:
but when I type that same string in either Illustrator or InDesign (with contextual alternates on by default) the alternates aren’t being substituted…
I’m sure I’m doing something wrong, or there is an easier way to do this.
thank you in advance