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
387 B
Plaintext
21 lines
387 B
Plaintext
lookup lookup1 {
|
|
#test-fea2fea: ignore sub three' four;
|
|
ignore sub three four;
|
|
} lookup1;
|
|
|
|
lookup lookup2 {
|
|
#test-fea2fea: ignore pos three' four;
|
|
ignore pos three four;
|
|
} lookup2;
|
|
|
|
lookup lookup3 {
|
|
#test-fea2fea: ignore sub one' two, three' four;
|
|
ignore sub one two, three four;
|
|
} lookup3;
|
|
|
|
feature test {
|
|
lookup lookup1;
|
|
lookup lookup2;
|
|
lookup lookup3;
|
|
} test;
|