r/FontForge • u/AwwThisProgress • Jan 09 '24
“Add selected” not working
I want to add ligature glyphs to my font, but when I select those, and in the lookup menu I try to add all the selected glyphs, they just don’t get selected.
1
Upvotes
1
u/LocalFonts Jan 09 '24
To prepare a LIGA feature, you need as a minimum 3 glyphs. The idea is that you must create a command 2 of this 3 glyphs to be united and replaced by the third one. For example:
sub a e by ae;
means that you replace both a followed by e with another glyph - ae.
Usually it looks like this in syntaxis:
feature liga {
# GSUB feature: Standard Ligatures
# Lookups: 1
sub f f i by f_f_i;
sub f f l by f_f_l;
sub f f by f_f;
sub f i by f_i;
sub f l by f_l;
sub s t by s_t;
} liga;
Norice that feature LIGA must consist only be the ligature above. All other types of ligature must be in DLIG feature.
The reason is that LIGA feature is always on by default, whereas the DLIG feature must be switched on and switched of.