Debian Codegraph @

Lib/fontFeatures/shaperLib/Positioning.py

raw
1 def shaper_inputs(self):
2 return self.glyphs
3
4
5 def _do_apply(self, buf, ix, namedclasses={}):
6 coverage = buf[ix : ix + len(self.glyphs)]
7 for glyph, vr in zip(coverage, self.valuerecords):
8 glyph.add_position(vr)
9 if not self.valuerecords[-1]: # A special case!
10 return
11 return len(self.glyphs) - 1