Lines Matching refs:newSubTable
1229 def splitAlternateSubst(oldSubTable, newSubTable, overflowRecord): argument
1231 newSubTable.Format = oldSubTable.Format
1233 newSubTable.sortCoverageLast = oldSubTable.sortCoverageLast
1249 newSubTable.alternates = {}
1253 newSubTable.alternates[key] = item[1]
1259 def splitLigatureSubst(oldSubTable, newSubTable, overflowRecord): argument
1261 newSubTable.Format = oldSubTable.Format
1276 newSubTable.ligatures = {}
1280 newSubTable.ligatures[key] = item[1]
1286 def splitPairPos(oldSubTable, newSubTable, overflowRecord): argument
1289 newSubTable.Format = oldSubTable.Format
1292 setattr(newSubTable, name, getattr(oldSubTable, name))
1296 newSubTable.Coverage = oldSubTable.Coverage.__class__()
1306 newSubTable.Coverage.glyphs = coverage[oldCount:]
1307 newSubTable.PairSet = records[oldCount:]
1310 newSubTable.PairSetCount = len(newSubTable.PairSet)
1318 setattr(newSubTable, name, getattr(oldSubTable, name))
1327 newSubTable.Coverage = oldSubTable.Coverage.__class__()
1328 newSubTable.ClassDef1 = oldSubTable.ClassDef1.__class__()
1341 newSubTable.Coverage.glyphs = [g for g in coverage if g in newGlyphs]
1342 newSubTable.ClassDef1.classDefs = {k:(v-oldCount) for k,v in classDefs.items() if v > oldCount}
1343 newSubTable.Class1Record = records[oldCount:]
1346 newSubTable.Class1Count = len(newSubTable.Class1Record)
1353 def splitMarkBasePos(oldSubTable, newSubTable, overflowRecord): argument
1384 newSubTable.Format = oldSubTable.Format
1387 newSubTable.MarkCoverage = oldSubTable.MarkCoverage.__class__()
1388 newSubTable.MarkCoverage.Format = oldSubTable.MarkCoverage.Format
1389 newSubTable.MarkCoverage.glyphs = newMarkCoverage
1392 newSubTable.BaseCoverage = oldSubTable.BaseCoverage
1395 newSubTable.ClassCount = newClassCount
1398 newSubTable.MarkArray = oldSubTable.MarkArray.__class__()
1399 newSubTable.MarkArray.MarkRecord = newMarkRecords
1402 newSubTable.MarkArray.MarkCount = len(newMarkRecords)
1405 newSubTable.BaseArray = oldSubTable.BaseArray.__class__()
1406 newSubTable.BaseArray.BaseRecord = newBaseRecords
1409 newSubTable.BaseArray.BaseCount = len(newBaseRecords)
1465 newSubTable = newSubTableClass()
1466 newExtSubTable.ExtSubTable = newSubTable
1470 newSubTable = newSubTableClass()
1471 toInsert = newSubTable
1486 ok = splitFunc(subtable, newSubTable, overflowRecord)