docstr: Remove any name records which are not in NameID range 0-255 and not utilized
  within the font itself.
docstr_tok: ["Remove","any","name","records","which","are","not","in","NameID","range","0-255","and","not","utilized","within","the","font","itself","."]
code: def removeUnusedNames(ttFont):
      """Remove any name records which are not in NameID range 0-255 and not utilized
      within the font itself."""
      visitor = NameRecordVisitor()
      visitor.visit(ttFont)
      toDelete = set()
      for record in ttFont["name"].names:
          # Name IDs 26 to 255, inclusive, are reserved for future standard names.
          # https://learn.microsoft.com/en-us/typography/opentype/spec/name#name-ids
          if record.nameID < 256:
              continue
          if record.nameID not in visitor.seen:
              toDelete.add(record.nameID)
  
      for nameID in toDelete:
          ttFont["name"].removeNames(nameID)
      return toDelete
  
imports: from fontTools.misc import sstruct
  from fontTools.misc.textTools import bytechr, byteord, bytesjoin, strjoin, tobytes, tostr, safeEval
  from fontTools.misc.encodingTools import getEncoding
  from fontTools.ttLib import newTable
  from fontTools.ttLib.ttVisitor import TTVisitor
  from fontTools import ttLib
  import fontTools.ttLib.tables.otTables
  from fontTools.ttLib.tables import C_P_A_L_
  from .None import DefaultTable
  import struct
  import logging
label_desc: Use image node_id 13 for calling the table__n_a_m_e obj's underlying member method code with example usage: obj.removeUnusedNames(ttFont) and returns: toDelete