code: def test_truetype_conversion(recwarn):
      matplotlib.rcParams["pdf.fonttype"] = 3
      fig, ax = plt.subplots()
      ax.text(
          0,
          0,
          "ABCDE",
          font=Path(__file__).with_name("mpltest.ttf"),
          fontsize=80,
      )
      ax.set_xticks([])
      ax.set_yticks([])
  
imports: from pathlib import Path
  import matplotlib
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.pyplot
label_desc: Use image node_id 1 for calling a global function with example usage: test_truetype_conversion(recwarn) without return types