• Home
  • Raw
  • Download

Lines Matching refs:marks

941     def add_marks_(self, location, lookupBuilder, marks):  argument
943 for _, markClass in marks:
946 if mark not in lookupBuilder.marks:
948 lookupBuilder.marks[mark] = (
951 existingMarkClass = lookupBuilder.marks[mark][0]
958 def add_mark_base_pos(self, location, bases, marks): argument
960 self.add_marks_(location, builder, marks)
961 for baseAnchor, markClass in marks:
970 for marks in components:
972 self.add_marks_(location, builder, marks)
973 for ligAnchor, markClass in marks:
979 def add_mark_mark_pos(self, location, baseMarks, marks): argument
981 self.add_marks_(location, builder, marks)
982 for baseAnchor, markClass in marks:
1140 def buildMarkClasses_(self, marks): argument
1148 for mark in sorted(marks.keys(), key=self.font.getGlyphID):
1149 markClassName, _markAnchor = marks[mark]
1376 self.marks = {} # glyphName -> (markClassName, anchor)
1381 self.marks == other.marks and
1386 result.update({glyph: 3 for glyph in self.marks})
1390 markClasses = self.buildMarkClasses_(self.marks)
1391 marks = {mark: (markClasses[mc], anchor)
1392 for mark, (mc, anchor) in self.marks.items()}
1397 subtables = otl.buildMarkBasePos(marks, bases, self.glyphMap)
1404 self.marks = {} # glyphName -> (markClassName, anchor)
1409 self.marks == other.marks and
1414 result.update({glyph: 3 for glyph in self.marks})
1418 markClasses = self.buildMarkClasses_(self.marks)
1419 marks = {mark: (markClasses[mc], anchor)
1420 for mark, (mc, anchor) in self.marks.items()}
1426 subtables = otl.buildMarkLigPos(marks, ligs, self.glyphMap)
1433 self.marks = {} # glyphName -> (markClassName, anchor)
1438 self.marks == other.marks and
1443 result.update({glyph: 3 for glyph in self.marks})
1447 markClasses = self.buildMarkClasses_(self.marks)
1449 marks = {mark: (markClasses[mc], anchor)
1450 for mark, (mc, anchor) in self.marks.items()}
1455 st.Mark1Coverage = otl.buildCoverage(marks, self.glyphMap)
1457 st.Mark1Array = otl.buildMarkArray(marks, self.glyphMap)