Add support for ligatures
Naereen opened this issue · comments
- I want the "latin" ligatures, using the unicode caracters ff fi fl ffi ffl ſt st and 🙰 as input in the template, but using a proper ligature markup in the
metadata.json
dict, to effectively allow my font to use the handwritten character for ff or st (or ch or whatever) instead of just two "f". - if it's easy to do, I will do the same for maths and code characters, like FiraCode.
- being smart about the "ligature caret" is mandatory (see how it works in FiraCode).
Look for ligature here: https://fontforge.github.io/python.html#Glyph
OK for the data and the template, I will finish this later.
Starting to work on parsing the scanned template.
I'm almost there!
It's too bad, everything is here to do it but it's quite hard.
This script is much simpler, https://github.com/IlyaSkriblovsky/dv-code-font/blob/master/conv.py, I could use it to understand everything FontForge needs to have...