[feaLib] Escape glyph names matching keywords

Glyph names matching reserved keywords were not consistently escaped;
they were escaped in GDEF classes but not elsewhere. Call module’s
asFea() function in GlyohName.asFea() to ensure they are consistently
escaped.
This commit is contained in:
Khaled Hosny 2019-02-04 23:55:37 +02:00
parent a291e9a2f1
commit 83434b4286

View File

@ -160,7 +160,7 @@ class GlyphName(Expression):
return (self.glyph,) return (self.glyph,)
def asFea(self, indent=""): def asFea(self, indent=""):
return str(self.glyph) return asFea(self.glyph)
class GlyphClass(Expression): class GlyphClass(Expression):