Home
last modified time | relevance | path

Searched refs:glyphclass (Results 1 – 5 of 5) sorted by relevance

/external/fonttools/Lib/fontTools/feaLib/
Dlexer.py105 glyphclass = text[start + 1 : self.pos_]
106 if len(glyphclass) < 1:
108 if len(glyphclass) > 63:
112 if not Lexer.RE_GLYPHCLASS.match(glyphclass):
118 return (Lexer.GLYPHCLASS, glyphclass, location)
Dast.py294 def __init__(self, glyphclass, location=None): argument
296 assert isinstance(glyphclass, GlyphClassDefinition)
297 self.glyphclass = glyphclass
301 return tuple(self.glyphclass.glyphSet())
304 return "@" + self.glyphclass.name
822 def __init__(self, glyphclass, entryAnchor, exitAnchor, location=None): argument
824 self.glyphclass = glyphclass
830 self.location, self.glyphclass.glyphSet(), self.entryAnchor, self.exitAnchor
836 return "pos cursive {} {} {};".format(self.glyphclass.asFea(), entry, exit)
Dparser.py271 glyphclass = self.ast.GlyphClassDefinition(name, glyphs, location=location)
272 self.glyphclasses_.define(name, glyphclass)
273 return glyphclass
734 glyphclass = self.parse_glyphclass_(accept_glyphname=True)
739 glyphclass, entryAnchor, exitAnchor, location=location
Dbuilder.py1296 def add_cursive_pos(self, location, glyphclass, entryAnchor, exitAnchor): argument
1300 glyphclass,
/external/fonttools/Tests/feaLib/
Dparser_test.py954 self.assertEqual(pos.glyphclass.glyphSet(), ("A",))
1576 [glyphclass, sub] = doc.statements[0].statements