Lines Matching refs:merger

23 	def merger(celf, clazzes, attrs=(None,)):  member in Merger
116 @AligningMerger.merger(ot.GDEF, "GlyphClassDef")
117 def merge(merger, self, lst): argument
219 @AligningMerger.merger(ot.SinglePos)
220 def merge(merger, self, lst): argument
228 merger.mergeThings(self.Value, [v.Value for v in lst])
237 glyphs, padded = _merge_GlyphOrders(merger.font,
252 v = _Lookup_SinglePos_get_effective_value(merger.lookup_subtables[i], glyph)
257 merger.mergeLists(self.Value, padded)
260 merger.mergeObjects(self, lst,
264 @AligningMerger.merger(ot.PairSet)
265 def merge(merger, self, lst): argument
267 glyphs, padded = _merge_GlyphOrders(merger.font,
275 pvr.Value1 = otBase.ValueRecord(merger.valueFormat1) if merger.valueFormat1 else None
276 pvr.Value2 = otBase.ValueRecord(merger.valueFormat2) if merger.valueFormat2 else None
288 …vpair = _Lookup_PairPos_get_effective_value_pair(merger.lookup_subtables[i], self._firstGlyph, gly…
293 v.Value1 = otBase.ValueRecord(merger.valueFormat1, src=v1) if merger.valueFormat1 else None
294 v.Value2 = otBase.ValueRecord(merger.valueFormat2, src=v2) if merger.valueFormat2 else None
298 merger.mergeLists(self.PairValueRecord, padded)
300 def _PairPosFormat1_merge(self, lst, merger): argument
304 merger.mergeObjects(self, lst,
314 glyphs, padded = _merge_GlyphOrders(merger.font,
325 merger.mergeLists(self.PairSet, padded)
466 def _PairPosFormat2_merge(self, lst, merger): argument
469 merger.mergeObjects(self, lst,
477 glyphs, _ = _merge_GlyphOrders(merger.font,
488 for l,subtables in zip(lst,merger.lookup_subtables):
492 matrices = _PairPosFormat2_align_matrices(self, lst, merger.font)
495 merger.mergeLists(self.Class1Record, matrices)
497 @AligningMerger.merger(ot.PairPos)
498 def merge(merger, self, lst): argument
499 merger.valueFormat1 = self.ValueFormat1 = reduce(int.__or__, [l.ValueFormat1 for l in lst], 0)
500 merger.valueFormat2 = self.ValueFormat2 = reduce(int.__or__, [l.ValueFormat2 for l in lst], 0)
503 _PairPosFormat1_merge(self, lst, merger)
505 _PairPosFormat2_merge(self, lst, merger)
509 del merger.valueFormat1, merger.valueFormat2
536 def _MarkBasePosFormat1_merge(self, lst, merger, Mark='Mark', Base='Base'): argument
540 _merge_GlyphOrders(merger.font,
546 _merge_GlyphOrders(merger.font,
584 merger.mergeThings(anchor, allAnchors)
611 merger.mergeThings(anchor, allAnchors)
619 @AligningMerger.merger(ot.MarkBasePos)
620 def merge(merger, self, lst): argument
623 _MarkBasePosFormat1_merge(self, lst, merger)
627 @AligningMerger.merger(ot.MarkMarkPos)
628 def merge(merger, self, lst): argument
631 _MarkBasePosFormat1_merge(self, lst, merger, 'Mark1', 'Mark2')
729 @AligningMerger.merger(ot.Lookup)
730 def merge(merger, self, lst): argument
731 subtables = merger.lookup_subtables = [l.SubTable for l in lst]
752 self.SubTable = _Lookup_PairPos_subtables_canonicalize(self.SubTable, merger.font)
753 …subtables = merger.lookup_subtables = [_Lookup_PairPos_subtables_canonicalize(st, merger.font) for…
755 merger.mergeLists(self.SubTable, subtables)
771 merger.mergeObjects(self, lst, exclude=['SubTable', 'SubTableCount'])
773 del merger.lookup_subtables
790 @InstancerMerger.merger(ot.CaretValue)
791 def merge(merger, self, lst): argument
794 model = merger.model
795 scalars = merger.scalars
798 @InstancerMerger.merger(ot.Anchor)
799 def merge(merger, self, lst): argument
803 model = merger.model
804 scalars = merger.scalars
808 @InstancerMerger.merger(otBase.ValueRecord)
809 def merge(merger, self, lst): argument
810 model = merger.model
811 scalars = merger.scalars
848 @MutatorMerger.merger(ot.CaretValue)
849 def merge(merger, self, lst): argument
857 instancer = merger.instancer
868 @MutatorMerger.merger(ot.Anchor)
869 def merge(merger, self, lst): argument
877 instancer = merger.instancer
896 @MutatorMerger.merger(otBase.ValueRecord)
897 def merge(merger, self, lst): argument
902 instancer = merger.instancer
962 @VariationMerger.merger(ot.CaretValue)
963 def merge(merger, self, lst): argument
965 self.Coordinate, DeviceTable = buildVarDevTable(merger.store_builder, [a.Coordinate for a in lst])
970 @VariationMerger.merger(ot.Anchor)
971 def merge(merger, self, lst): argument
973 …self.XCoordinate, XDeviceTable = buildVarDevTable(merger.store_builder, [a.XCoordinate for a in ls…
974 …self.YCoordinate, YDeviceTable = buildVarDevTable(merger.store_builder, [a.YCoordinate for a in ls…
980 @VariationMerger.merger(otBase.ValueRecord)
981 def merge(merger, self, lst): argument
988 value, deviceTable = buildVarDevTable(merger.store_builder,