Question
Separating lookups from feature definitions in FEA files -- possible?
Dear AFDKO developers,
is it possible to draft a list of lookups outside of the context of feature definitions (just like you do with glyph classes) and only include references to the lookups within the feature definitions? Something like the code below.
I'd like to use FDK rather than VOLT to build my font but would like to have precise control over the ordering of the lookups. Currently, only VOLT gives me this ability: I build my lookups separately and assign them to features later.
If this is not possible currently, please count this as a feature request for AFDKO.
Adam
-- Example --
lookup liga_with_i {
sub f f i by ffi;
sub f i by fi;
} liga_with_i;
lookup liga_no_i {
sub f f l by ffl;
sub f f by ff;
sub f l by fl;
} liga_no_i;
feature liga {
script latn;
language dflt;
lookup liga_with_i;
lookup liga_no_i;
language TRK exclude_dflt;
lookup liga_no_i;
} liga;
is it possible to draft a list of lookups outside of the context of feature definitions (just like you do with glyph classes) and only include references to the lookups within the feature definitions? Something like the code below.
I'd like to use FDK rather than VOLT to build my font but would like to have precise control over the ordering of the lookups. Currently, only VOLT gives me this ability: I build my lookups separately and assign them to features later.
If this is not possible currently, please count this as a feature request for AFDKO.
Adam
-- Example --
lookup liga_with_i {
sub f f i by ffi;
sub f i by fi;
} liga_with_i;
lookup liga_no_i {
sub f f l by ffl;
sub f f by ff;
sub f l by fl;
} liga_no_i;
feature liga {
script latn;
language dflt;
lookup liga_with_i;
lookup liga_no_i;
language TRK exclude_dflt;
lookup liga_no_i;
} liga;
