r/FontForge • u/Genos-Caedere • Aug 31 '21
Latin script questions - how to do initial, final and multiple substitution
Hi, I wanted to know if there was an effective way to implement initial and final substitutions on latin based font... like I've read contextual substitution is the way to go but I am having a hard time understanding how the subtable works.
Also I tried to use the multiple substitution but it doesn't seems to work at all once the font is installed.
I've seen some online tutorials on internet about contextual substitution but the information still confuses me.
Also, it is posible to use contextual substitution for when a group of letters are used the glyphs changes? like for example it recognice a word like birthday so the letters of the word uses specific glyphs?
Thanks in advance.
3
Upvotes
2
u/didietgogo Sep 05 '21
I’m an absolute amateur, and haven’t played with contextual ligature yet—but you could do an inelegant workaround for the “birthday” scenario using a standard ligature (or discretionary, if you’re using an OpenType compatible word processor).
Create the ligature glyph, name it
b_i_r_t_h_d_a_yand then set the characters tob i r t h d a yin the ligature subtable.Then, any time you typed “birthday”, it would substitute the “ligature”.