Lines Matching refs:newSubTable
1504 def splitMultipleSubst(oldSubTable, newSubTable, overflowRecord): argument
1506 newSubTable.Format = oldSubTable.Format
1521 newSubTable.mapping = {}
1525 newSubTable.mapping[key] = item[1]
1530 def splitAlternateSubst(oldSubTable, newSubTable, overflowRecord): argument
1532 newSubTable.Format = oldSubTable.Format
1534 newSubTable.sortCoverageLast = oldSubTable.sortCoverageLast
1550 newSubTable.alternates = {}
1554 newSubTable.alternates[key] = item[1]
1560 def splitLigatureSubst(oldSubTable, newSubTable, overflowRecord): argument
1562 newSubTable.Format = oldSubTable.Format
1577 newSubTable.ligatures = {}
1581 newSubTable.ligatures[key] = item[1]
1587 def splitPairPos(oldSubTable, newSubTable, overflowRecord): argument
1590 newSubTable.Format = oldSubTable.Format
1593 setattr(newSubTable, name, getattr(oldSubTable, name))
1597 newSubTable.Coverage = oldSubTable.Coverage.__class__()
1607 newSubTable.Coverage.glyphs = coverage[oldCount:]
1608 newSubTable.PairSet = records[oldCount:]
1611 newSubTable.PairSetCount = len(newSubTable.PairSet)
1619 setattr(newSubTable, name, getattr(oldSubTable, name))
1628 newSubTable.Coverage = oldSubTable.Coverage.__class__()
1629 newSubTable.ClassDef1 = oldSubTable.ClassDef1.__class__()
1642 newSubTable.Coverage.glyphs = [g for g in coverage if g in newGlyphs]
1643 newSubTable.ClassDef1.classDefs = {k:(v-oldCount) for k,v in classDefs.items() if v > oldCount}
1644 newSubTable.Class1Record = records[oldCount:]
1647 newSubTable.Class1Count = len(newSubTable.Class1Record)
1654 def splitMarkBasePos(oldSubTable, newSubTable, overflowRecord): argument
1686 newSubTable.Format = oldSubTable.Format
1689 newSubTable.MarkCoverage = oldSubTable.MarkCoverage.__class__()
1690 newSubTable.MarkCoverage.glyphs = newMarkCoverage
1693 newSubTable.BaseCoverage = oldSubTable.BaseCoverage
1696 newSubTable.ClassCount = newClassCount
1699 newSubTable.MarkArray = oldSubTable.MarkArray.__class__()
1700 newSubTable.MarkArray.MarkRecord = newMarkRecords
1703 newSubTable.MarkArray.MarkCount = len(newMarkRecords)
1706 newSubTable.BaseArray = oldSubTable.BaseArray.__class__()
1707 newSubTable.BaseArray.BaseRecord = newBaseRecords
1710 newSubTable.BaseArray.BaseCount = len(newBaseRecords)
1766 newSubTable = newSubTableClass()
1767 newExtSubTable.ExtSubTable = newSubTable
1771 newSubTable = newSubTableClass()
1772 toInsert = newSubTable
1787 ok = splitFunc(subtable, newSubTable, overflowRecord)