Quick one hopefully (see attached image).
My goal is to create contextual alternates so that my lowercase i and l (in a monospace style) are never next to each other, and are replaced with a straight forward i, l (set as contextual alternates).
You will see my goal has worked successfully with my uppercase “British Isles” where the I is substituted in ITI but not in “ISLES”.
I wanted to ensure that these alternates work for the following:
- Caps I: IIIIIIII (and so on)
- Lowercase i: iiiiiii (and so on)
- TI Combo: TITITITITITIT (and so on)
- Lowercase l and i Combo: lilililililiil (and so on)
It’s mainly the 1-3 I have issues with.
Below you will see the second l in ‘hello’ needs to be my l.alt, and the l in ‘helium’ also needs to be my l.alt
Here’s my current .calt Feature code:
sub T I’ by I.alt;
sub I’ T by I.alt;
sub q j’ by j.alt;
sub i l’ by l.alt;
sub l i’ by i.alt;
sub I’ I’ by I.alt;
sub i’ i’ by i.alt;
sub l’ l’ by l.alt;