fonttools/Tests/feaLib/data/GSUB_error.fea
Tom c70395fbdb
[feaLib] Raise exception when GSUB statement doesn't match a rule. (#1876)
* [feaLib] Raise exception when substitute statement doesnt match any of the rules. Add tests that trigger said exception.
2020-04-16 16:10:03 +01:00

14 lines
349 B
Plaintext

# Trigger a parser error in the function parse_substitute_ in order to improve the error message.
# Note that this is not a valid substitution, this test is made to trigger an error.
languagesystem latn dflt;
@base = [a e];
@accents = [acute grave];
feature abvs {
lookup lookup1 {
sub @base @accents by @base;
} lookup1;
} abvs;