[NameVisitor] remove logging, caller can log if they wish
This commit is contained in:
parent
f0d601a5f2
commit
687e23cf3f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user