code: def warn_on_missing_glyph(codepoint, fontnames):
      _api.warn_external(
          f"Glyph {codepoint} "
          f"({chr(codepoint).encode('ascii', 'namereplace').decode('ascii')}) "
          f"missing from font(s) {fontnames}."
      )
  
      block = (
          "Hebrew"
          if 0x0590 <= codepoint <= 0x05FF
          else "Arabic"
          if 0x0600 <= codepoint <= 0x06FF
          else "Devanagari"
          if 0x0900 <= codepoint <= 0x097F
          else "Bengali"
          if 0x0980 <= codepoint <= 0x09FF
          else "Gurmukhi"
          if 0x0A00 <= codepoint <= 0x0A7F
          else "Gujarati"
          if 0x0A80 <= codepoint <= 0x0AFF
          else "Oriya"
          if 0x0B00 <= codepoint <= 0x0B7F
          else "Tamil"
          if 0x0B80 <= codepoint <= 0x0BFF
          else "Telugu"
          if 0x0C00 <= codepoint <= 0x0C7F
          else "Kannada"
          if 0x0C80 <= codepoint <= 0x0CFF
          else "Malayalam"
          if 0x0D00 <= codepoint <= 0x0D7F
          else "Sinhala"
          if 0x0D80 <= codepoint <= 0x0DFF
          else None
      )
      if block:
          _api.warn_external(
              f"Matplotlib currently does not support {block} natively."
          )
  
imports: from __future__ import annotations
  import dataclasses
  from .None import _api
  from .ft2font import KERNING_DEFAULT, LOAD_NO_HINTING, FT2Font
label_desc: Use image node_id 1 for calling a global function with example usage: warn_on_missing_glyph(codepoint, fontnames) without return types