
    hp                    v    % S SK Jr  S SKJr  S SKrS SKJr  SSKJr  \r	S\
S'    " S	 S
\R                  5      rg)    )annotations)	TypeAliasN)NumpyPath2d   )FontMeasurementsr   	GlyphPathc                      \ rS rSr% S\S'   S\S'   \R                  SS j5       r\R                   S       SS jj5       r S       SS jjr	\R                   S       SS	 jj5       r
S
rg)Glyphs   r   font_measurementsfloatspace_widthc                    g N )self
cap_heights     D/var/www/html/env/lib/python3.13/site-packages/ezdxf/fonts/glyphs.pyget_scaling_factorGlyphs.get_scaling_factor   s        c                    g r   r   r   textr   width_factors       r   get_text_lengthGlyphs.get_text_length        	r   c                    U R                  XU5      n[        U5      S:X  a  [        S 5      $ [        R                  " U5      $ )Nr   )get_text_glyph_pathslenr   r   concatenate)r   r   r   r   glyph_pathss        r   get_text_pathGlyphs.get_text_path   s>     //,O{q T?"&&{33r   c                    g r   r   r   s       r   r    Glyphs.get_text_glyph_paths#   r   r   r   N)r   r   returnr   )g      ?)r   strr   r   r   r   r(   r   )r   r)   r   r   r   r   r(   r   )r   r)   r   r   r   r   r(   zlist[GlyphPath])__name__
__module____qualname____firstlineno____annotations__abcabstractmethodr   r   r$   r    __static_attributes__r   r   r   r
   r
      s    ''  	BE%*:?	  CF44%*4:?4	4 	BE%*:?	 r   r
   )
__future__r   typing_extensionsr   r/   ezdxf.npshapesr   r   r   r   r.   ABCr
   r   r   r   <module>r6      s0    # ' 
 & /"	9 "SWW r   