Hi everybody,
I'm new to font design. I just started following some Youtube tutorials and some posts in this website. but I have a few issues with ligatures. I apologize if this topic was already covered.
I wanted to make a font with ligatures of the 4 tones of chinese pin yin.
usually these tones are defined by numbers. from 1 to 4.
so I wanted them to appear when I type a vowel + number. something like this:
a + 1 = ā
a + 2 = á
a + 3 = ă
a + 4 = à
same thing with e i o u
I made new font with Fontlab, added the glyphs a_1, a_2, a_3 and a_4 of the ligatures ā á ă à just to try with these. after it works I will add other vowels. then I made a liga feature
feature liga {
sub a one by a_1;
sub a two by a_2;
sub a three by a_3;
sub a four by a_4;
} liga;
1- In the preview panel I noticed that it works fine in the "OpenType features" panel (left) but it doesn't work in the "preview" panel (middle). is this normal?
2- when I generate the font as otf and then install it in the font folder and try it in MS Word, it didn't work.
it shows a1a2a3a4 instead of āáăà
but when I change the liga feature (removing the numbers) into
feature liga {
sub a b by a_1;
sub a c by a_2;
sub a d by a_3;
sub a e by a_4;
} liga;
it works in MS Word when I type:
a + b = ā
a + c = á
a + d = ă
a + e = à
but this is not how I wanted it. I wanted it with the numbers 1,2,3,4.
so is it not possible to use the numbers (one, two, three...) in the ligatures? or is it an issue with MS Word?
I will be very grateful if anyone has any suggestions.
thank you for your time.
NoahVN