code: def _load_font(face, bold, italic):
      from freetype import Face, FT_FACE_FLAG_SCALABLE
  
      key = "%s-%s-%s" % (face, bold, italic)
      if key in _font_dict:
          return _font_dict[key]
      if face in _vispy_fonts:
          fname = _get_vispy_font_filename(face, bold, italic)
      else:
          fname = find_font(face, bold, italic)
      font = Face(fname)
      if (FT_FACE_FLAG_SCALABLE & font.face_flags) == 0:
          raise RuntimeError(
              "Font %s is not scalable, so cannot be loaded" % face
          )
      _font_dict[key] = font
      return font
  
imports: import sys
  import numpy
  from ._vispy_fonts import _vispy_fonts, _get_vispy_font_filename
label_desc: Use image node_id 1 for calling a global function with example usage: _load_font(face, bold, italic) and returns: font, _font_dict