Before this change, feaLib did not handle feature files that specified `feature aalt` whose block just was referring to other features without defining any lookups on its own. After this change, we can handle it. Resolves https://github.com/behdad/fonttools/issues/441
32 lines
624 B
Plaintext
32 lines
624 B
Plaintext
languagesystem DFLT dflt;
|
|
|
|
feature aalt {
|
|
feature sups;
|
|
feature frac;
|
|
feature ordn;
|
|
} aalt;
|
|
|
|
feature sups {
|
|
sub one by onesuperior;
|
|
sub two by twosuperior;
|
|
sub three by threesuperior;
|
|
} sups;
|
|
|
|
feature frac {
|
|
sub one slash four by onequarter;
|
|
sub one slash two by onehalf;
|
|
sub three slash four by threequarters;
|
|
} frac;
|
|
|
|
feature ordn {
|
|
sub [zero one two three four five six seven eight nine] [A a]'
|
|
by ordfeminine;
|
|
sub [zero one two three four five six seven eight nine] [O o]'
|
|
by ordmasculine;
|
|
} ordn;
|
|
|
|
feature liga {
|
|
sub f i by fi;
|
|
sub f l by fl;
|
|
} liga;
|