+
    i                        ^ RI t  ! R R]4      t ! R R]4      t ! R R]4      t ! R R	]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t	 ! R R]4      t
 ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R  R!]4      t ! R" R#]4      t ! R$ R%]4      tR# )&    Nc                       ] tR t^tRtRtR# )VarLibErrorz%Base exception for the varLib module. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       w/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/fontTools/varLib/errors.pyr   r      s    /r   r   c                       ] tR t^tRtRtR# )VarLibValidationErrorz>Raised when input data is invalid from varLib's point of view.r   Nr   r   r   r   r   r      s    Hr   r   c                   j   a  ] tR t^t o RtR
R lt]R 4       tR t]R 4       t	]R 4       t
R tR	tV tR# )VarLibMergeErrorz=Raised when input data cannot be merged into a variable font.Nc                r    Wn         V'       g   / pR V9   d   VR ,          V n        VR  M. V n        W n        R# )stackN)mergerr   cause)selfr   kwargss   &&,r   __init__VarLibMergeError.__init__   s5    FfDJwDJ
r   c                    V P                   # N)r   )r   s   &r   reasonVarLibMergeError.reason   s    ||r   c                   V P                   e   V P                   P                  V,          pRV9   d5   VR,          P                  4       '       d   VR,          P                  4       # \        VP                  R4      '       dG   \        VP                  P
                  R4      '       d!   VP                  P
                  P                  # RV 2# )Nnamefilezmaster number )r   ttfsgetBestFullNamehasattrreaderr!   r    )r   ixttfs   && r   _master_nameVarLibMergeError._master_name   s    ;;"++""2&C}V!<!<!>!>6{2244V,,&1Q1Qzz+++t$$r   c                Z   R V P                   9   d   RV P                   9   d   V P                   R,           Uu. uF  qV P                   R ,          8H  NK  	  upP                  R4      pV P                  V4      pRV P                   9   d   V RV P                   R,           R2pW#3# R# u upi )expectedgotFlocation ())NNr   indexr(   )r   xr1   master_names   &   r   offenderVarLibMergeError.offender'   s    #(;:>**U:KL:KQ$**Z00:KLRRE ++E2KTZZ'!,R

:0F/GqI%% Ms   B(c                    R V P                   9   dj   RV P                   9   dY   V P                  w  rV P                   R,          V,          pRV P                  ^ ,           RV P                   R ,          : RV: R2# R# )r+   r,   zExpected to see ==z, instead saw 
 )r   r4   r   )r   offender_indexr4   r,   s   &   r   detailsVarLibMergeError.details3   sl    #(;'+}}$N**U#N3C%djjm_Btzz*7M6PP^_b^eeghhr   c                   V P                   w  rR pV'       d   RV R2pR P                  \        V P                  4      4      p\        P
                  ! RV P                   RV 2^NR7      pRV,           V,           V P                  ,           # )r9   z!

The problem is likely to be in z:
z"Couldn't merge the fonts, because z:. This happened while performing the following operation: )widthz

)r4   joinreversedr   textwrapfillr   r;   )r   r:   r4   r-   contextbasics   &     r   __str__VarLibMergeError.__str__;   s    #'== <XJcJH''(4::./0 >GGNiQ

 ~(4<<77r   )r   r   r   r   )r   r   r	   r
   r   r   propertyr   r(   r4   r;   rE   r   __classdictcell____classdict__s   @r   r   r      sX     G	  % 	 	  8 8r   r   c                   @   a a ] tR t^It oRt]V 3R l4       tRtVtV ;t	# )ShouldBeConstantz9some values were different, but should have been the samec                  <a  \         S	S `  pS P                  ^ ,          R8w  g   S P                  f   V# S P                  ^ ,          R8X  g   Q hS P                  w  r#S P                  P
                  V,          p\        V 3R lS P                  P
                   4       4      pVS P                  R,          ,          P                  P                  P                   Uu. uF  pVP                  NK  	  ppVS P                  R,          ,          P                  P                  P                   Uu. uF  pVP                  NK  	  ppVRRP                  V4       RRP                  V4       R2,           # u upi u upi )r   z.FeatureCountc              3      <"   T Fq  pSP                   R,          V9   g   K  VSP                   R,          ,          P                  P                  P                  SP                  R,          8X  g   Km  Vx  Ks  	  R# 5i)   r+   N)r   tableFeatureListFeatureCountr   ).0r'   r   s   & r   	<genexpr>+ShouldBeConstant.details.<locals>.<genexpr>V   sd      
'zz"~$  DJJrN#))55BBzz*%& C's   A<AA<2
A<z2
Incompatible features between masters.
Expected: z, z.
Got: z.
rP   )superr;   r   r   r4   r"   nextrQ   rR   FeatureRecord
FeatureTagr?   )
r   basic_messager:   _bad_ttfgood_ttfr2   good_featuresbad_features	__class__s
   f        r   r;   ShouldBeConstant.detailsL   sT   ::a=O+t{{/B  zz!}/// MM++"">2 
{{''
 
 djjn-33??MM
M LLM 	 
 TZZ^,22>>LL
L LLL 	 
 =12 3IIl+,C1
 	


s   E3.E8r   )
r   r   r	   r
   r   rG   r;   r   rH   __classcell__ra   rJ   s   @@r   rL   rL   I   s     C
 
 
r   rL   c                   D   a  ] tR t^mt o Rt]R 4       t]R 4       tRtV t	R# )
FoundANonezAone of the values in a list was empty when it shouldn't have beenc                    V P                   R ,           Uu. uF  qRJ NK  	  upP                  R4      pW P                  V4      3# u upi r,   NTr0   r   r2   r1   s   &  r   r4   FoundANone.offenderp   sG    $(JJu$56$5qd$56<<TB''... 7   Ac                \    V P                   V P                  r!V^ ,           RVR,           R2# r   r7   r,   r8   r   r   r   r   r   s   &  r   r;   FoundANone.detailsu   ,    zz4::u(2eEl^2..r   r   N
r   r   r	   r
   r   rG   r4   r;   r   rH   rI   s   @r   rf   rf   m   s.     K/ / / /r   rf   c                   D   a  ] tR t^{t o Rt]R 4       t]R 4       tRtV t	R# )NotANonezBone of the values in a list was not empty when it should have beenc                    V P                   R ,           Uu. uF  qRJNK  	  upP                  R4      pW P                  V4      3# u upi rh   r0   ri   s   &  r   r4   NotANone.offender~   sG    (,

5(9:(91$(9:@@F''... ;rk   c                \    V P                   V P                  r!V^ ,           RVR,           R2# rm   rn   ro   s   &  r   r;   NotANone.details   rq   r   r   Nrr   rI   s   @r   rt   rt   {   s.     L/ / / /r   rt   c                       ] tR t^tRtRtR# )MismatchedTypeszdata had inconsistent typesr   Nr   r   r   r   rz   rz      s    %r   rz   c                       ] tR t^tRtRtR# )LengthsDifferz*a list of objects had inconsistent lengthsr   Nr   r   r   r   r|   r|      s    4r   r|   c                       ] tR t^tRtRtR# )
KeysDifferz$a list of objects had different keysr   Nr   r   r   r   r~   r~      s    .r   r~   c                       ] tR t^tRtRtR# )InconsistentGlyphOrderz0the glyph order was inconsistent between mastersr   Nr   r   r   r   r   r      s    :r   r   c                       ] tR t^tRtRtR# )InconsistentExtensionsz6the masters use extension lookups in inconsistent waysr   Nr   r   r   r   r   r      s    @r   r   c                   J   a a ] tR t^t oRtRV 3R llt]R 4       tRtVt	V ;t
# )UnsupportedFormatz6an OpenType subtable (%s) had a format I didn't expectc                b   < \         SV `  ! V3/ VB  V P                  '       g   R .V n        R# R# )z.FormatN)rW   r   r   )r   r   r   ra   s   &&,r   r   UnsupportedFormat.__init__   s,    *6*zzz#DJ r   c                    V P                   V P                  R ,          ,          pRV P                  9   d    VRV P                  R,          : R2,          pV# )subtablevaluer.   r/   )r   r   )r   ss   & r   r   UnsupportedFormat.reason   sG    LL4::j11djj 2djj),A..Ar   )r   r   )r   r   r	   r
   r   r   rG   r   r   rH   rc   rd   s   @@r   r   r      s&     @%
   r   r   c                       ] tR t^tRtRtR# )InconsistentFormatszBan OpenType subtable (%s) had inconsistent formats between mastersr   Nr   r   r   r   r   r      s    Lr   r   c                       ] tR t^tRtR# )VarLibCFFMergeErrorr   N)r   r   r	   r
   r   r   r   r   r   r      s    r   r   c                   *   a  ] tR t^t o RtR tRtV tR# )VarLibCFFDictMergeErrorz/Raised when a CFF PrivateDict cannot be merged.c                R    R V RV R2pV F  pVRV 2,          pK  	  V3V n         R# )zFor the Private Dict key 'z!', the default font value list:
	z5
had a different number of values than a region font:z
	Nargs)r   keyr   values	error_msgregion_values   &&&&  r   r    VarLibCFFDictMergeError.__init__   sG    ( .'OQ 	 #L4~..I #L	r   r   Nr   r   r	   r
   r   r   r   rH   rI   s   @r   r   r      s     9! !r   r   c                   *   a  ] tR t^t o RtR tRtV tR# )VarLibCFFPointTypeMergeErrorzKRaised when a CFF glyph cannot be merged because of point type differences.c                :    R V RV RV RV RV R2pV3V n         R# )Glyph '': 'z' at point index  in master index z+ differs from the default font point type ''Nr   )r   
point_typept_indexm_indexdefault_type
glyph_namer   s   &&&&&& r   r   %VarLibCFFPointTypeMergeError.__init__   sB    j\j\1B8* M#9 %~Q  	
 L	r   r   Nr   rI   s   @r   r   r      s     U! !r   r   c                   *   a  ] tR t^t o RtR tRtV tR# )VarLibCFFHintTypeMergeErrorzJRaised when a CFF glyph cannot be merged because of hint type differences.c                :    R V RV RV RV RV R2pV3V n         R# )r   r   z' at index r   z* differs from the default font hint type 'r   Nr   )r   	hint_type	cmd_indexr   r   r   r   s   &&&&&& r   r   $VarLibCFFHintTypeMergeError.__init__   sA    j\i[I; G#9 %~Q  	
 L	r   r   Nr   rI   s   @r   r   r      s     T! !r   r   c                       ] tR t^tRtRtR# )VariationModelErrorz(Raised when a variation model is faulty.r   Nr   r   r   r   r   r      s    2r   r   )rA   	Exceptionr   r   r   rL   rf   rt   rz   r|   r~   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      s    0) 0IK I:8{ :8z!
' !
H/! // /&& &5$ 5/! /;- ;A- A(  M+ M	+ 	
!1 
!	!#6 	!	!"5 	!3+ 3r   