Home
last modified time | relevance | path

Searched refs:oldSubTable (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py1229 def splitAlternateSubst(oldSubTable, newSubTable, overflowRecord): argument
1231 newSubTable.Format = oldSubTable.Format
1232 if hasattr(oldSubTable, 'sortCoverageLast'):
1233 newSubTable.sortCoverageLast = oldSubTable.sortCoverageLast
1235 oldAlts = sorted(oldSubTable.alternates.items())
1254 del oldSubTable.alternates[key]
1259 def splitLigatureSubst(oldSubTable, newSubTable, overflowRecord): argument
1261 newSubTable.Format = oldSubTable.Format
1262 oldLigs = sorted(oldSubTable.ligatures.items())
1281 del oldSubTable.ligatures[key]
[all …]
/external/fonttools/Tests/ttLib/tables/
DotTables_test.py571 oldSubTable = buildMarkBasePosSubtable(marks, bases, glyphMap)
572 oldSubTable.MarkCoverage.Format = oldSubTable.BaseCoverage.Format = 1
575 ok = otTables.splitMarkBasePos(oldSubTable, newSubTable, overflowRecord=None)
578 assert oldSubTable.Format == newSubTable.Format
579 assert oldSubTable.MarkCoverage.glyphs == [
584 assert oldSubTable.BaseCoverage.glyphs == newSubTable.BaseCoverage.glyphs
586 assert oldSubTable.ClassCount == newSubTable.ClassCount == 1
587 assert oldSubTable.MarkArray.MarkCount == 2
589 assert oldSubTable.BaseArray.BaseCount == newSubTable.BaseArray.BaseCount