+
    f7i  c                   s   ^ 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                   s    ] 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       >/usr/lib64/python3.14/site-packages/fontTools/varLib/errors.pyr   r      s    /r
   r   c                   s    ] 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                   sj   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                sr    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__ZVarLibMergeError.__init__   s5    FfDJwDJ
r
   c                s    V P                   # N)r   )r   s   &r   reasonZVarLibMergeError.reason   s    ||r
   c                s   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   ttfsZgetBestFullNameZhasattrZreaderr   r   )r   Zixttfs   && r   _master_nameZVarLibMergeError._master_name   s    ;;"++""2&C}V!<!<!>!>6{2244V,,&1Q1Qzz+++t$$r
   c                sZ   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   xr!   Zmaster_name   &   r   offenderZ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                s    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   r$   r   )r   offender_indexr$   r   r#   r   detailsZVarLibMergeError.details3   sl    #(;'+}}$N**U#N3C%djjm_Btzz*7M6PP^_b^eeghhr
   c                s   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                  ,           # )r'   z!

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

)r$   joinZreversedr   textwrapZfillr   r)   )r   r(   r$   r   ZcontextZbasics   &     r   __str__Z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   r$   r)   r,   r	   __classdictcell____classdict__   @r   r   r      sX     G	  % 	 	  8 8r
   r   c                   s@   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                s  <a  \         S	S `  pS P                  ^ ,          R8w  g   S P                  f   V# 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   s   <"   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)i   r   N)r   tableFeatureListZFeatureCountr   )Z.0r   r   s   & r   Z	<genexpr>Z+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.
r3   )superr)   r   r   r$   r   Znextr4   r5   ZFeatureRecordZ
FeatureTagr*   )
r   Zbasic_messager(   Z_Zbad_ttfZgood_ttfr"   Zgood_featuresZbad_features	__class__s
   f        r   r)   ZShouldBeConstant.detailsL   s@   ::a=O+t{{/B   !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   EEr   )
r   r   r   r   r   r-   r)   r	   r.   __classcell__r7   r0      @@r   r2   r2   I   s     C
 
 
r
   r2   c                   sD   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                s    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   NTr    r   r"   r!      &  r   r$   Z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    r%   r   r&   r   r   r   r   r   r>   r   r)   ZFoundANone.detailsu   ,    zz4::u(2eEl^2..r
   r   N
r   r   r   r   r   r-   r$   r)   r	   r.   r/   r1   r   r;   r;   m   s.     K/ / / /r
   r;   c                   sD   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                s    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<   r    r=   r>   r   r$   ZNotANone.offender~   sG    (,

5(9:(91$(9:@@F''... ;r?   c                r@   rA   rB   rC   r>   r   r)   ZNotANone.details   rD   r
   r   NrE   r/   r1   r   rF   rF   {   s.     L/ / / /r
   rF   c                   s    ] tR t^tRtRtR# )MismatchedTypeszdata had inconsistent typesr   Nr   r   r
   r   rG   rG      s    %r
   rG   c                   s    ] tR t^tRtRtR# )LengthsDifferz*a list of objects had inconsistent lengthsr   Nr   r   r
   r   rH   rH      s    4r
   rH   c                   s    ] tR t^tRtRtR# )
KeysDifferz$a list of objects had different keysr   Nr   r   r
   r   rI   rI      s    .r
   rI   c                   s    ] tR t^tRtRtR# )InconsistentGlyphOrderz0the glyph order was inconsistent between mastersr   Nr   r   r
   r   rJ   rJ      s    :r
   rJ   c                   s    ] tR t^tRtRtR# )InconsistentExtensionsz6the masters use extension lookups in inconsistent waysr   Nr   r   r
   r   rK   rK      s    @r
   rK   c                   sJ   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                sb   < \         SV `  ! V3/ VB  V P                  '       g   R .V n        R# R# )z.FormatN)r6   r   r   )r   r   r   r7   s   &&,r   r   ZUnsupportedFormat.__init__   s,    *6*zzz#DJ r
   c                s    V P                   V P                  R ,          ,          pRV P                  9   d    VRV P                  R,          : R2,          pV# )Zsubtablevaluer   r   )r   r   )r   Zss   & r   r   ZUnsupportedFormat.reason   sG    LL4::j11djj 2djj),A..Ar
   )r   r   )r   r   r   r   r   r   r-   r   r	   r.   r8   r9   r:   r   rL   rL      s&     @%
   r
   rL   c                   s    ] tR t^tRtRtR# )InconsistentFormatszBan OpenType subtable (%s) had inconsistent formats between mastersr   Nr   r   r
   r   rN   rN      s    Lr
   rN   c                   s    ] tR t^tRtR# )VarLibCFFMergeErrorr   N)r   r   r   r   r	   r   r
   r   rO   rO      s    r
   rO   c                   s*   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                sR    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Zargs)r   ZkeyrM   Zvalues	error_msgZregion_values   &&&&  r   r   Z VarLibCFFDictMergeError.__init__   sG    ( .'OQ 	 #L4~..I #L	r
   rQ   Nr   r   r   r   r   r   r	   r.   r/   r1   r   rP   rP      s     9! !r
   rP   c                   s*   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 ''NrQ   )r   Z
point_typeZpt_indexm_indexdefault_type
glyph_namerR      &&&&&& r   r   Z%VarLibCFFPointTypeMergeError.__init__   sB    j\j\1B8* M#9 %~Q  	
 L	r
   rQ   NrS   r/   r1   r   rT   rT      s     U! !r
   rT   c                   s*   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                rU   )rV   rW   z' at index rX   z* differs from the default font hint type 'rY   NrQ   )r   Z	hint_typeZ	cmd_indexrZ   r[   r\   rR   r]   r   r   Z$VarLibCFFHintTypeMergeError.__init__   sA    j\i[I; G#9 %~Q  	
 L	r
   rQ   NrS   r/   r1   r   r^   r^      s     T! !r
   r^   c                   s    ] 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_   )r+   Z	Exceptionr   r   r   r2   r;   rF   rG   rH   rI   rJ   rK   rL   rN   rO   rP   rT   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
   