Hey everyone - I am working on a font with tons of required ligatures, and I have come to a point where they seem to cancel each other out. The concept of the font is disobedience -may have shot myself in the foot with this one lol. Every other letter should trigger a ligature, so the meaning of the word changes as you go on typing and the writer can never fully predict the outcome. I kinda took inspiration from here. It’s experimental and fun, and I have made some good progress. But there are some ligatures i just cant get to trigger. For example the t_h ligatures - t h gets transformed into t_h, and t_h e into t_h_e without problems, but for some reason it stops there and neither t_h_e_space nor t_h_e_s work. Out of desperation i have added every possible way the string might occur but it won’t happen.
sub t h by t_h; sub t_h e by t_h_e; sub t h e by t_h_e; sub t h_e by t_h_e; sub t_h_e space by t_h_e_space; sub t_h_e s by t_h_e_s; sub t_h_e s by t_h_e_s; sub t h e s by t_h_e_s; sub t h e_s by t_h_e_s; sub t_h e_s by t_h_e_s;
Seeing as this is a case of ligature overkill beyond what is covered in most tutorials, I was hoping maybe some of you might help me find a better practice than just listing substitution rules. Thanks for any advice!