This commit is contained in:
Cosimo Lupo 2023-03-06 12:12:18 +00:00
parent 8d546623d1
commit e0177a9920
No known key found for this signature in database
GPG Key ID: DF65A8A5A119C9A8

View File

@ -1041,7 +1041,11 @@ def parseGSUBGPOS(lines, font, tableTag):
if "Debg" not in font:
font["Debg"] = newTable("Debg")
font["Debg"].data = {}
debug = font["Debg"].data.setdefault(LOOKUP_DEBUG_INFO_KEY, {}).setdefault(tableTag, {})
debug = (
font["Debg"]
.data.setdefault(LOOKUP_DEBUG_INFO_KEY, {})
.setdefault(tableTag, {})
)
for name, lookup in lookupMap.items():
debug[str(lookup)] = ["", name, ""]