diff --git a/Lib/fontTools/feaLib/builder_test.py b/Lib/fontTools/feaLib/builder_test.py index 093206da2..337d97508 100644 --- a/Lib/fontTools/feaLib/builder_test.py +++ b/Lib/fontTools/feaLib/builder_test.py @@ -39,7 +39,7 @@ def makeTTFont(): a_n_d T_h T_h.swash germandbls ydieresis yacute breve grave acute dieresis macron circumflex cedilla umlaut ogonek caron damma hamza sukun kasratan lam_meem_jeem noon.final noon.initial - \\glyphNameWithBackslash1 \\glyphNameWithBackslash2 + by feature lookup sub table """.split() font = TTFont() font.setGlyphOrder(glyphs) diff --git a/Lib/fontTools/feaLib/testdata/bug457.fea b/Lib/fontTools/feaLib/testdata/bug457.fea index 90d28cdde..0e8f16913 100644 --- a/Lib/fontTools/feaLib/testdata/bug457.fea +++ b/Lib/fontTools/feaLib/testdata/bug457.fea @@ -1,4 +1,4 @@ -@group = [\glyphNameWithBackslash1 \glyphNameWithBackslash2]; +@group = [\A \sub \lookup \feature \by \table]; feature liga { sub @group by G; diff --git a/Lib/fontTools/feaLib/testdata/bug457.ttx b/Lib/fontTools/feaLib/testdata/bug457.ttx index 1eabc9570..bad53020d 100644 --- a/Lib/fontTools/feaLib/testdata/bug457.ttx +++ b/Lib/fontTools/feaLib/testdata/bug457.ttx @@ -34,8 +34,12 @@ - - + + + + + +