[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:
parent
a291e9a2f1
commit
83434b4286
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user