Home | History | Annotate | Download | only in mtiLib

Lines Matching refs:glyphs

283 		for glyph1 in self.Coverage.glyphs:
377 for glyph in coverage.glyphs:
388 for glyph in coverage.glyphs:
402 records = [None] * len(coverage.glyphs)
403 idx = {g:i for i,g in enumerate(coverage.glyphs)}
617 self.Intersect = lambda glyphs, c, r: [r] if r in glyphs else []
623 self.Intersect = lambda glyphs, c, r: (c.intersect_class(glyphs, r) if c
624 else (set(glyphs) if r == 0 else set()))
659 def makeCoverage(glyphs, font, klass=ot.Coverage):
660 if not glyphs: return None
661 if isinstance(glyphs, set):
662 glyphs = sorted(glyphs)
664 coverage.glyphs = sorted(set(glyphs), key=font.getGlyphID)
668 glyphs = []
671 glyphs.append(makeGlyph(line[0]))
672 return makeCoverage(glyphs, font, klass)
717 bucketizeRules(self, c, rules, self.Coverage.glyphs)
809 self.Substitute = [mapping[k] for k in self.Coverage.glyphs]