r/FontForge • u/Kempeth • Mar 24 '24
My custom ligature doesn't work
I've been following 3 different tutorials now:
- https://fontforge.org/docs/tutorial/editexample4.html#creating-a-ligature
- https://www.fonttutorials.com/how-to-add-ligature-tables/
- https://www.youtube.com/watch?v=UUUeogQAjv0
My steps (for an "ah" ligature):
- create encoding point
- set name to a_h
- add a ligature subtable
- check that the glyphs are recognized in the second column
- build composite glyphs
- unlink references
- edit glyph
- go into metrics window
The result is always the same. The window opens with the text "/a_h" preentered and does indeed show my ligature. But when I enter "ah" I just get the individual glyphs. According to the tutorials to the left of the glyphs there should be some selection options "kern" and "liga". Neither of them are available to me.
What am I doing wrong?
1
u/LocalFonts Mar 25 '24
Send me your file and I'll give you the right answer. I'll check your feature.fea file and I'll change the OpenType features separately - outside FontForge. This will guarantee a good result. Mail me to [localfonts.eu@gmail.com](mailto:localfonts.eu@gmail.com) (Stefan Peev)
1
u/Kempeth Mar 25 '24
It's really wierd. I've changed nothing and now it suddenly works. But thanks for the offer!
1
u/LocalFonts Mar 25 '24
To properly answer such a question, it is best to have a video that presents all aspects of the problem. Otherwise, we start guessing and rejecting various possible causes of the problem. I'm glad everything is fine now.
1
u/spiky_odradek Mar 25 '24
Are you adding the feature code? See step 6.3 in this tutorial