otTables: print subtable type when can't split in fixSubTableOverFlows

This commit is contained in:
Cosimo Lupo 2018-07-19 17:50:43 +01:00
parent a526b7170c
commit 2798bf6d1f
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -1347,6 +1347,11 @@ def fixSubTableOverFlows(ttf, overflowRecord):
try:
splitFunc = splitTable[overflowRecord.tableType][subTableType]
except KeyError:
log.error(
"Don't know how to split %s lookup type %s",
overflowRecord.tableType,
subTableType,
)
return ok
ok = splitFunc(subtable, newSubTable, overflowRecord)