I'm working on a monospaced, and playing around with ligatures for i_i, i_l, l_i, and l_l.
I'm trying to set it up so that the sequence i l l becomes i l_l, not i_l l.
The ordering of my substitution rules for i_l and l_l doesn't make a difference and nothing else I can think of or find online helps either.
Thanks in advance.
0
Comments
Thanks, too, @John Hudson.
“A contiguous set of ligature rules does not need to be ordered in any particular way by the font editor; the implementation software must do the appropriate sorting.”
The compiler is supposed to be responsible for ordering the longest substitutions first.
i l -> i_l
l l -> l_l
Paul has suggested a way to handle this by making the substitution for the sequence <i l l> to /i l_l/ contextual. That's certainly one solution.