code: def test_survive_names():
      scriptdir = os.path.abspath(os.path.dirname(__file__))
      filename = os.path.join(
          scriptdir, "resources", "has-bad-fonts.pdf"
      )
      doc = fitz.open(filename)
      print("File '%s' uses the following fonts on page 0:" % doc.name)
      for f in doc.get_page_fonts(0):
          print(f)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_survive_names() without return types