Lines Matching +full:merge +full:- +full:base
2 Merge OpenType Layout tables (GDEF / GPOS / GSUB).
32 assert method.__name__ == 'merge'
40 "Oops, class '%s' has merge function for '%s' defined already." % (clazz.__name__, attr)
117 def merge(merger, self, lst): function
152 - Combined glyph list,
153 - If values_lst is None, return input glyph lists, but padded with None when a glyph
154 was missing in a list. Otherwise, return values_lst list-of-list, padded with None
220 def merge(merger, self, lst): function
249 # Note!!! This *might* result in behavior change if ValueFormat2-zeroedness
259 # Merge everything else; though, there shouldn't be anything else. :)
265 def merge(merger, self, lst): function
303 # Merge everything else; makes sure Format is the same.
342 # Class-0 is special. It's "everything else".
347 # Collect anything without a non-zero class into class=zero.
389 endGlyph = ranges[-1][3]
390 glyphCount = endGlyph - startGlyph + 1
413 # Follow-up to e6125b353e1f54a0280ded5434b8e40d042de69f,
433 rec1 = matrix[klass] # TODO handle out-of-range?
490 assert l == subtables[-1]
498 def merge(merger, self, lst): function
512 # as merge might have created new values.
536 def _MarkBasePosFormat1_merge(self, lst, merger, Mark='Mark', Base='Base'): argument
547 [getattr(l, Base+'Coverage').glyphs for l in lst],
548 [getattr(getattr(l, Base+'Array'), Base+'Record') for l in lst])
549 getattr(self, Base+'Coverage').glyphs = BaseCoverageGlyphs
568 # "top-right" in another master, we shouldn't do that, as any
598 rec = getattr(ot, Base+'Record')()
600 setattr(rec, Base+'Anchor', anchors)
601 glyphAnchors = [[] if r is None else getattr(r, Base+'Anchor')
604 l.extend([None] * (self.ClassCount - len(l)))
614 array = getattr(ot, Base+'Array')()
615 setattr(array, Base+'Record', records)
616 setattr(array, Base+'Count', len(records))
617 setattr(self, Base+'Array', array)
620 def merge(merger, self, lst): function
628 def merge(merger, self, lst): function
710 """Merge multiple Format1 subtables at the beginning of lst,
711 and merge multiple consecutive Format2 subtables that have the same
723 while i > 0 and lst[i - 1].Format == 2:
724 i -= 1
730 def merge(merger, self, lst): function
750 # Merge those before continuing.
759 # If format-1 subtable created during canonicalization is empty, remove it.
763 self.SubTableCount -= 1
765 # If format-2 subtable created during canonicalization is empty, remove it.
766 assert len(self.SubTable) >= 1 and self.SubTable[-1].Format == 2
767 if not self.SubTable[-1].Coverage.glyphs:
768 self.SubTable.pop(-1)
769 self.SubTableCount -= 1
791 def merge(merger, self, lst): function
799 def merge(merger, self, lst): function
809 def merge(merger, self, lst): function
849 def merge(merger, self, lst): function
869 def merge(merger, self, lst): function
897 def merge(merger, self, lst): function
959 base, varIdx = store_builder.storeMasters(master_values)
960 return base, builder.buildVarDevTable(varIdx)
963 def merge(merger, self, lst): function
971 def merge(merger, self, lst): function
981 def merge(merger, self, lst): function