+
     ]i	  c                  s    R t ^ RIHt ^ RIt^RIHt ^RIHtHtH	t	 ]P                  ! RR7       ! R R4      4       tR	 tR
]P                  /R ltR# )z"
Low-level text helper utilities.
)annotationsN)_api)FT2FontKerning	LoadFlagsT)Zfrozenc                  sJ    ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R	&   R
tR# )
LayoutItemr   Z	ft_objectZstrcharZint	glyph_idxZfloatxZ	prev_kern N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__annotations__Z__static_attributes__r	       ?/usr/lib64/python3.14/site-packages/matplotlib/_text_helpers.pyr   r      s    
INHr
   r   c           	     s   \         P                  ! R V  R\        V 4      P                  RR4      P	                  R4       RV R24       RT u;8:  d   R8:  d   M MRMR	T u;8:  d   R
8:  d   M MRMRT u;8:  d   R8:  d   M MRMRT u;8:  d   R8:  d   M MRMRT u;8:  d   R8:  d   M MRMRT u;8:  d   R8:  d   M MRMyRT u;8:  d   R8:  d   M MRMeRT u;8:  d   R8:  d   M MRMQRT u;8:  d   R8:  d   M MR M=R!T u;8:  d   R"8:  d   M MR#M)R$T u;8:  d   R%8:  d   M MR&MR'T u;8:  d   R(8:  d   M MR)MR*pV'       d   \         P                  ! R+V R,24       R*# R*# )-zGlyph z (ZasciiZnamereplacez) missing from font(s) Z.i  i  ZHebrewi   i  ZArabici 	  i	  Z
Devanagarii	  i	  ZBengalii 
  i
  ZGurmukhii
  i
  ZGujaratii   i  ZOriyai  i  ZTamili   i  ZTelugui  i  ZKannadai   i  Z	Malayalami  i  ZSinhalaNz&Matplotlib currently does not support z
 natively.)r   Zwarn_externalZchrZencodeZdecode)Z	codepointZ	fontnamesZblocks   && r   warn_on_missing_glyphr      s3   
 	N!!'=9@@IJ K  ){!	-.
  966X966X#y:F:\ I77Y!Y8&8Z!Y8&8Z)5v5W)5v5W966X I77Y"i969[ I77Y 
 4UG:F	H r
   	kern_modec             #  s  "   ^ pRpVP                  V 4      pTpV  F  pVP                  Wv4      pVP                  \        V4      4      pVe   VP	                  WHV4      ^@,          MRp	W9,          pVP                  V\        P                  R7      p
\        WWV	4      x  W:P                  R,          ,          pTpK  	  R# 5i)aa  
Render *string* with *font*.

For each character in *string*, yield a LayoutItem instance. When such an instance
is yielded, the font's glyph is set to the corresponding character.

Parameters
----------
string : str
    The string to be rendered.
font : FT2Font
    The font.
kern_mode : Kerning
    A FreeType kerning mode.

Yields
------
LayoutItem
Ng        )Zflagsi   )
Z_get_fontmapZgetZget_char_indexZordZget_kerningZ
load_glyphr   Z
NO_HINTINGr   ZlinearHoriAdvance)ZstringZfontr   r   Zprev_glyph_idxZchar_to_fontZ	base_fontr   r   ZkernZglyphs   &&$        r   layoutr   .   s     ( 	
AN$$V,LI0''D	2	 ) !!.YG"L/1 	 	
		1E1EFY488	$$u,," s   C C)Z__doc__Z
__future__r    ZdataclassesZ r   Zft2fontr   r   r   Z	dataclassr   r   ZDEFAULTr   r	   r
   r   <module>r      sU    #   0 0 d#  $H0$#goo $#r
   