code: def get_font():
      """Attempts to retrieve a reasonably-looking TTF font from the system.
  
      We don't make much of an effort, but it's what we can reasonably do without
      incorporating additional dependencies for this task.
      """
      if sys.platform == "win32":
          font_names = ["Arial"]
      elif sys.platform in ["linux", "linux2"]:
          font_names = ["DejaVuSans-Bold", "DroidSans-Bold"]
      elif sys.platform == "darwin":
          font_names = ["Menlo", "Helvetica"]
  
      font = None
      for font_name in font_names:
          try:
              font = ImageFont.truetype(font_name)
              break
          except IOError:
              continue
  
      return font
  
file_path: luminoth/luminoth/vis.py
imports: import numpy
  import sys
  from PIL import Image, ImageDraw, ImageFont
label_desc: Use image node_id 1 for calling a global function with example usage: get_font() and returns: font