Home | History | Annotate | Download | only in feaLib

Lines Matching refs:glyphs

178         glyphs = self.parse_glyphclass_(accept_glyphname=True)
183 return self.ast.AttachStatement(glyphs, contourPoints,
223 glyphs = self.parse_glyphclass_(accept_glyphname=False)
225 glyphclass = self.ast.GlyphClassDefinition(name, glyphs,
261 "into a range of known glyphs" % name, location)
290 glyphs = self.ast.GlyphClass(location=location)
297 glyphs.add_range(
304 glyphs.add_range(
308 glyphs.append(glyph)
316 glyphs.add_cid_range(range_start, range_end,
320 glyphs.append("cid%05d" % self.cur_token_)
334 glyphs.add_class(gc)
341 return glyphs
358 prefix, glyphs, lookups, values, suffix = ([], [], [], [], [])
369 # silently inserts ' in all the intervening glyphs.
375 glyphs.append(gc)
376 elif glyphs:
391 "Lookups can only follow marked glyphs",
402 if not glyphs and not suffix: # eg., "sub f f i by"
407 format1 = values[len(prefix):][:len(glyphs)]
408 format2 = values[(len(prefix) + len(glyphs)):][:len(suffix)]
410 return (prefix, glyphs, lookups, values, suffix, hasMarks)
414 prefix, glyphs, lookups, values, suffix, hasMarks = \
416 chainContext = [(prefix, glyphs, suffix)]
420 prefix, glyphs, lookups, values, suffix, hasMarks = \
422 chainContext.append((prefix, glyphs, suffix))
476 glyphs = self.parse_glyphclass_(accept_glyphname=True)
481 return self.ast.LigatureCaretByIndexStatement(glyphs, carets,
487 glyphs = self.parse_glyphclass_(accept_glyphname=True)
492 return self.ast.LigatureCaretByPosStatement(glyphs, carets,
569 glyphs = self.parse_glyphclass_(accept_glyphname=True)
578 mcdef = self.ast.MarkClassDefinition(markClass, anchor, glyphs,
595 prefix, glyphs, lookups, values, suffix, hasMarks = \
606 prefix, glyphs, suffix, lookups, location=location)
610 if not prefix and not suffix and len(glyphs) == 2 and not hasMarks:
614 glyphs[0], values[0], glyphs[1], values[1],
621 return self.ast.SinglePosStatement(list(zip(glyphs, values)),
741 glyphs = list(old[0].glyphSet())
744 replacements = replacements * len(glyphs)
745 if len(glyphs) != len(replacements):
749 (len(glyphs), len(replacements)), location)
795 glyphs = sorted(list(old[0].glyphSet()))
798 replacements = replacements * len(glyphs)
799 if len(glyphs) != len(replacements):
803 (len(glyphs), len(replacements)), location)
809 'Direct substitution of multiple glyphs by multiple glyphs '
1460 s.prefix, s.glyphs[0].glyphSet()[0], s.suffix,