[NameVisitor] remove logging, caller can log if they wish

This commit is contained in:
Cosimo Lupo 2023-07-20 10:27:30 +01:00
parent f0d601a5f2
commit 687e23cf3f
No known key found for this signature in database
GPG Key ID: DF65A8A5A119C9A8

View File

@ -242,9 +242,6 @@ class table__n_a_m_e(DefaultTable.DefaultTable):
if record.nameID not in visitor.seen:
toDelete.add(record.nameID)
if not toDelete:
return
log.info(f"Deleting name records with NameIDs {toDelete}")
for nameID in toDelete:
ttFont["name"].removeNames(nameID)
return toDelete