code: def test_font_glyph(face):
      """Test loading glyphs"""
      if (
          face in known_bad_fonts
          or face.split(" ")[0] in known_bad_fonts
      ):
          pytest.xfail()
      font_dict = dict(face=face, size=12, bold=False, italic=False)
      glyphs_dict = dict()
      chars = "foobar^C&#"
      for char in chars:
          # Warning that Arial might not exist
          with warnings.catch_warnings(record=True):
              warnings.simplefilter("always")
              _load_glyph(font_dict, char, glyphs_dict)
      assert len(glyphs_dict) == np.unique([c for c in chars]).size
  
imports: import numpy
  import warnings
  from vispy.testing import assert_in, run_tests_if_main
  from vispy.util.fonts import list_fonts, _load_glyph, _vispy_fonts
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_font_glyph(face) without return types