I can’t figure out how to code this the way I’d like to.
Suggestions would be welcome!
The premise of the font is to alternate characters between roman and italic.
The basic code is very simple.@default
= roman glyphs@alts
= italic glyphs (e.g. A.alt etc.)
sub @default @alts' by @italics;
Inserting a space before the sentence produces another option for the user:
However, I’m not happy that the letters on either side of the space have the same inclination.
It occurs to me that alternating the slant across the word space would be better.
This I achieve by adding a line of code at the beginning, to put two characters between words:
sub space by space.half space.half;
But his means that when the user inserts a space at the beginning, it becomes two characters and will thus not produce the optional look, merely moving the image to the right. A period or any other single character would do the job:
I would rather that the user achieve this effect by inserting a space—but how?
Is there some method involving “ignore” or lookups?
Or some other method entirely?