[Tests] Remove hack after Coverage .Format removal
This commit is contained in:
parent
d6bdfba587
commit
8f79235d00
@ -1686,7 +1686,6 @@ def splitMarkBasePos(oldSubTable, newSubTable, overflowRecord):
|
|||||||
|
|
||||||
oldSubTable.MarkCoverage.glyphs = oldMarkCoverage
|
oldSubTable.MarkCoverage.glyphs = oldMarkCoverage
|
||||||
newSubTable.MarkCoverage = oldSubTable.MarkCoverage.__class__()
|
newSubTable.MarkCoverage = oldSubTable.MarkCoverage.__class__()
|
||||||
newSubTable.MarkCoverage.Format = oldSubTable.MarkCoverage.Format
|
|
||||||
newSubTable.MarkCoverage.glyphs = newMarkCoverage
|
newSubTable.MarkCoverage.glyphs = newMarkCoverage
|
||||||
|
|
||||||
# share the same BaseCoverage in both halves
|
# share the same BaseCoverage in both halves
|
||||||
|
@ -599,7 +599,6 @@ def test_splitMarkBasePos():
|
|||||||
glyphMap = {g: i for i, g in enumerate(glyphOrder)}
|
glyphMap = {g: i for i, g in enumerate(glyphOrder)}
|
||||||
|
|
||||||
oldSubTable = buildMarkBasePosSubtable(marks, bases, glyphMap)
|
oldSubTable = buildMarkBasePosSubtable(marks, bases, glyphMap)
|
||||||
oldSubTable.MarkCoverage.Format = oldSubTable.BaseCoverage.Format = 1
|
|
||||||
newSubTable = otTables.MarkBasePos()
|
newSubTable = otTables.MarkBasePos()
|
||||||
|
|
||||||
ok = otTables.splitMarkBasePos(oldSubTable, newSubTable, overflowRecord=None)
|
ok = otTables.splitMarkBasePos(oldSubTable, newSubTable, overflowRecord=None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user