code: def suckfont(data, encoding="ascii"):
      m = re.search(rb"/FontName\s+/([^ \t\n\r]+)\s+def", data)
      if m:
          fontName = m.group(1)
          fontName = fontName.decode()
      else:
          fontName = None
      interpreter = PSInterpreter(encoding=encoding)
      interpreter.interpret(
          b"/Helvetica 4 dict dup /Encoding StandardEncoding put definefont pop"
      )
      interpreter.interpret(data)
      fontdir = interpreter.dictstack[0]["FontDirectory"].value
      if fontName in fontdir:
          rawfont = fontdir[fontName]
      else:
          # fall back, in case fontName wasn't found
          fontNames = list(fontdir.keys())
          if len(fontNames) > 1:
              fontNames.remove("Helvetica")
          fontNames.sort()
          rawfont = fontdir[fontNames[0]]
      interpreter.close()
      return unpack_item(rawfont)
  
imports: from fontTools.misc.textTools import bytechr, byteord, bytesjoin, tobytes, tostr
  from fontTools.misc import eexec
  from .psOperators import PSOperators, ps_StandardEncoding, ps_array, ps_boolean, ps_dict, ps_integer, ps_literal, ps_mark, ps_name, ps_operator, ps_procedure, ps_procmark, ps_real, ps_string
  import re
  from collections.abc import Callable
  from string import whitespace
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: suckfont(data, encoding) and returns: unpack_item