Fixes https://github.com/fonttools/fonttools/issues/2949 - If there are no marked glyphs in an "ignore" statement, issue a warning. The spec disallows this but makeotf allows it. It is most likely a typo, so a warning is warranted. - Mark the first glyph not all the glyphs, this matches makeotf. - In asFea() always mark the input glyph. - Udpate the tests.
21 lines
375 B
Plaintext
21 lines
375 B
Plaintext
lookup GSUB5f1 {
|
|
ignore sub three' four';
|
|
ignore sub four' five';
|
|
} GSUB5f1;
|
|
|
|
lookup GSUB5f2 {
|
|
ignore sub [a - z]' [A - H]' [I - Z]';
|
|
ignore sub [a - z]' [A - H]' [I - Z]';
|
|
ignore sub [a - z]' [I - Z]' [A - H]';
|
|
} GSUB5f2;
|
|
|
|
lookup GSUB5f3 {
|
|
ignore sub e';
|
|
} GSUB5f3;
|
|
|
|
feature test {
|
|
lookup GSUB5f1;
|
|
lookup GSUB5f2;
|
|
lookup GSUB5f3;
|
|
} test;
|