Home
last modified time | relevance | path

Searched refs:newSubTable (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
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
[all …]
/external/fonttools/Tests/ttLib/tables/
DotTables_test.py573 newSubTable = otTables.MarkBasePos()
575 ok = otTables.splitMarkBasePos(oldSubTable, newSubTable, overflowRecord=None)
578 assert oldSubTable.Format == newSubTable.Format
582 assert newSubTable.MarkCoverage.glyphs == ["cedillacomb"]
583 assert newSubTable.MarkCoverage.Format == 1
584 assert oldSubTable.BaseCoverage.glyphs == newSubTable.BaseCoverage.glyphs
585 assert newSubTable.BaseCoverage.Format == 1
586 assert oldSubTable.ClassCount == newSubTable.ClassCount == 1
588 assert newSubTable.MarkArray.MarkCount == 1
589 assert oldSubTable.BaseArray.BaseCount == newSubTable.BaseArray.BaseCount
[all …]