code: def test_otf_font_smoke(family_name, file_name):
      # checks that there's no segfault
      fp = fm.FontProperties(family=[family_name])
      if Path(fm.findfont(fp)).name != file_name:
          pytest.skip(f"Font {family_name} may be missing")
  
      plt.rc("font", family=[family_name], size=27)
  
      fig = plt.figure()
      fig.text(0.15, 0.475, "Привет мир!")
      fig.savefig(io.BytesIO(), format="pdf")
  
imports: import datetime
  import decimal
  import io
  import os
  from pathlib import Path
  import numpy
  import pytest
  import matplotlib
  from matplotlib import pyplot, rcParams, font_manager
  from matplotlib.cbook import _get_data_path
  from matplotlib.ft2font import FT2Font
  from matplotlib.font_manager import findfont, FontProperties
  from matplotlib.backends._backend_pdf_ps import get_glyphs_subset
  from matplotlib.backends.backend_pdf import PdfPages
  from matplotlib.patches import Rectangle
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  from matplotlib.testing._markers import needs_usetex
label_desc: Use image node_id 24 for calling a global function with example usage: test_otf_font_smoke(family_name, file_name) without return types