+
    i                     x   ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
HtHt  ! R R]P                  4      t]! ]P                  ! R	4      4      R
 4       tRR lt]! ]P                  ! R	4      4      R 4       t]! ]P                  ! R	4      4      R 4       t]! ]P                  ! R	4      4      R 4       t]	! R]R7      ]! ]P                  ! R	4      4      R 4       4       t]	! R]R7      ]! ]P                  ! R	4      4      R 4       4       t]	! R]R7      ]! ]P                  ! R	4      4      R 4       4       tR# )    )psCharStrings)ttLib)NullPen)otRound)deprecateFunction)_add_method
_uniq_sortc                   ,   a  ] tR t^	t o R tR tRtV tR# )_ClosureGlyphsT2Decompilerc                R    \         P                  P                  WV4       Wn        R # N)r   SimpleT2Decompiler__init__
components)selfr   
localSubrsglobalSubrss   &&&&t/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/fontTools/subset/cff.pyr   #_ClosureGlyphsT2Decompiler.__init__
   s    ((11$KP$    c                    V P                  4       p\        V4      ^8  dW   ^ RIHp VRR w  rErgW6,          pW7,          p	V P                  P                  V4       V P                  P                  V	4       R# R# )   )StandardEncodingN)popalllen$fontTools.encodings.StandardEncodingr   r   add)
r   indexargsr   adxadybcharachar	baseGlyphaccentGlyphs
   &&        r   
op_endchar%_ClosureGlyphsT2Decompiler.op_endchar   sf    {{}t9>M &*"#Y"Ce(/I*1KOO	*OO, r   )r   N)__name__
__module____qualname____firstlineno__r   r'   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   s     %- -r   r   zCFF c                    V P                   p\        V4      ^8X  g   Q hW"P                  4       ^ ,          ,          pVP                  pVP                  pV'       d   \        4       pV FQ  pWt9  d   K  WG,          p\        VP                  R. 4      p	\        WiVP                  4      p
V
P                  V4       KS  	  WaP                  ,          pVP                  P                  V4       TpK  R# )   SubrsN)cffr   keysCharStringsglyphssetgetattrprivater   r   executeupdate)r   sr3   fontglyphSet	decomposer   gglsubrs
decompilers   &&         r   closure_glyphsrD      s    
((Cs8q==xxz!}DHI
U
A BBJJ4E3Jr~~VJr"  	hh
	
#	 r   c                     V P                   P                  V4      w  rEV'       g	   V'       d   TP                  V'       d   . MR .4       R# \        V R4      '       d-   V P                  e   V P                  V,          P
                  pMV P
                  pVP                  pVP                  p\        4       p	VP                  V	4       VP                  V8w  d   VP                  V,
          R .Vn        R# R .Vn        R# )endcharFDArrayN)r5   getItemAndSelector
setProgramhasattrrG   PrivatedefaultWidthXnominalWidthXr   drawwidthprogram)
r=   	glyphNameisCFF2ignoreWidthcfdSelectIndexr9   dfltWdXnmnlWdXpens
   &&&&      r   _empty_charstringrY   3   s    ''::9EA	6R	{34##(@ll=199GllG''''i	s77g7*I6AI"AIr   c                 Z   V P                   pVP                  R ,          Vn        VP                  '       dO   VP                  '       g=   VP                  ^8  pVP                  4        F  pW5,          p\        VRVR7       K  	  VP                  4        F  pW5,          pRVn        K  	  R# ):Nr1   Nz.notdef)rR   r   T)r3   	fontNamesnotdef_glyphnotdef_outlinemajorr4   rY   Encoding)r   r=   optionsr3   rR   fontnames   &&&   r   prune_pre_subsetrb   G   s    
((CMM"%CMG$:$:$:Q
H=DdIf= #
 HHJ}* 
 r   c           	      
   V P                   pVP                  4        EFF  pW#,          pVP                  pVP                  P	                  VP
                  4      pVP                   F  pWv9  d   K  VP                  V4      w  rK   	  VP                  '       d   \        VP                  4       U
Uu. uF  w  rWv9   g   K  V
NK  	  pp
pVP                  pV U
u. uF  qP                  V
,          NK  	  up
Vn        V=V=\        VR 4      '       d;   VP                  pRVn        V U
u. uF  qP"                  V
,          NK  	  up
Vn        / p\        V4       F/  w  ppVP                  V,          pWuP$                  9   g   K+  WV&   K1  	  Wn        M=VP$                  P                  4        UUu/ uF  w  ppWv9   g   K  VVbK  	  uppVn        VP                   Uu. uF  qwV9   g   K  VNK  	  upVn        \'        VP                  4      Vn        VP*                  P,                  '       g   EK  VP.                  ^8  pVP
                   F  p\1        WGVRR7       K  	  EKI  	  R# u upp
i u up
i u up
i u uppi u upi )FDSelectNT)rR   rS   )r3   r4   r5   r6   unionglyphs_emptiedcharsetrH   charStringsAreIndexed	enumeratecharStringsIndexitemsfileoffsetsrJ   rd   formatgidArraycharStringsr   	numGlyphsr`   retain_gidsr^   rY   )r   r<   r3   ra   r=   csr6   r@   rT   _iindicescsiselnewCharStrings
indicesIdx
charsetIdxvrR   s   &&                 r   subset_glyphsr}   \   s   
((CHHJ} 0 01 A((+DAq 
 ###%.t||%<L%<TQqq%<GL%%C/67w!1w7CI#+tZ((mm!
9@AAQAN*3G*<&
JLL,&(21% += ,N/1~~/C/C/EU/Etq!dad/EUBN#'<<?<a;<?T\\*99   YY]F%%!$&dK &E J 1 M7
  B V?s0   2
I*I*I0*I51I:I:J ,J c                 z   V P                   pVP                  4        F  pW4,          pVP                  p\        VR 4      '       g   K+  VP                  p\        VP                  4      pVP                   U	u. uF  qP                  V	4      NK  	  up	Vn        VP                  p
V Uu. uF  qV,          NK  	  upV
n	        V
=
V
=K  	  VP                  '       d   VP                  4        VP                  '       g   V P                  4        R# VP                  '       g   V P                  4        R# u up	i u upi )rd   T)r3   r4   r5   rJ   rd   r	   ro   r   rG   rk   rl   rm   desubroutinizehintingremove_hintsremove_unused_subroutines)r   ttfFontr`   r3   ra   r=   rs   rx   rv   ssarrru   s   &&&         r   prune_post_subsetr      s    
((CHHJ} 4$$--C .G8;E"MM"-ECL,,C)01AQ1CI#+   ???  ###&&( F1s   7D3(D8z)use 'CFFFontSet.desubroutinize()' instead)categoryc                 :    V P                   P                  4        R # r   )r3   r   r   s   &r   r   r      s    
 	HHr   z'use 'CFFFontSet.remove_hints()' insteadc                 :    V P                   P                  4        R # r   )r3   r   r   s   &r   r   r      s    
 	HHr   z2use 'CFFFontSet.remove_unused_subroutines' insteadc                 :    V P                   P                  4        R # r   )r3   r   r   s   &r   r   r      s    
 	HH&&(r   N)F)fontTools.miscr   	fontToolsr   fontTools.pens.basePenr   fontTools.misc.roundToolsr   fontTools.misc.loggingToolsr   fontTools.subset.utilr   r	   r   r   getTableClassrD   rY   rb   r}   r   DeprecationWarningr   r   r    r   r   <module>r      sj   (  * - 9 9-!A!A -& U  () *,$( U  () *( U  ()' *'T U  () *6 /:L U  () * -8J U  () * 8CU U  ()) *)r   