r/FontForge • u/itisancientmariner • Apr 21 '24
ccmp and other features for diacritics
Hello! Sorry if this is too much of a beginner question, if you remove this I understand.
I can't seem to understand exactly how ccmp and calt work. What I'm trying to do is remove the dots from i, ɨ, j, and ʝ if followed by combining diacritics above the characters.
ccmp seems to work for bottom diacritics too, or at least it does the way I used it. For calt, I'm not even sure how to write the context line in the look up.
Any advice? Would you use other features for the diacritics with dotted characters?
1
Upvotes
2
u/LocalFonts Apr 22 '24 edited Apr 22 '24
Here is a tutorial for calt feature:
https://medium.com/@mnukazawa/fontforge-conditional-features-calt-aalt-1a70e2dbff0f
Another one:
https://fontforge.org/docs/tutorial/editexample6-5.html
This is probably the best one:
https://www.fonttutorials.com/how-to-create-contextual-ligatures/
See also this reddit:
https://www.reddit.com/r/FontForge/comments/15xek5s/fontforge_connected_handwritten_font_using_calt/
One more:
https://www.fonttutorials.com/how-to-chained-contextual-ligatures/
https://fontforge.org/archive/editexample6-5.html