+
    f7i  c                   s\    ^ RI Ht ^ RIHt ^RIHt RtRt ! R R]P
                  4      tR# )	i    )sstruct)safeEval)DefaultTablezJ
		>	# big endian
		tableVersion:           i
		numGlyphs:              H
a~  
		>	# big endian
		maxPoints:              H
		maxContours:            H
		maxCompositePoints:     H
		maxCompositeContours:   H
		maxZones:               H
		maxTwilightPoints:      H
		maxStorage:             H
		maxFunctionDefs:        H
		maxInstructionDefs:     H
		maxStackElements:       H
		maxSizeOfInstructions:  H
		maxComponentElements:   H
		maxComponentDepth:      H
c                   sN   a  ] tR t^t o RtR.tR tR tR tR t	R t
R tR	tV tR
# )table__m_a_x_pzMaximum Profile table

The ``maxp`` table contains the memory requirements for the data in
the font.

See also https://learn.microsoft.com/en-us/typography/opentype/spec/maxp
glyfc                s    \         P                  ! \        W4      w  r1\        V P                  4      V n        V P
                  R 8w  d    \         P                  ! \        W4      w  r1R# R# ) P  N)r    Zunpack2maxpFormat_0_5Zint	numGlyphstableVersionmaxpFormat_1_0_add)selfdatattFontZdummys   &&& F/usr/lib64/python3.14/site-packages/fontTools/ttLib/tables/_m_a_x_p.py	decompileZtable__m_a_x_p.decompile(   sL    oondAT^^,
*!//*<dIKE4 +    c                s   R V9   d<   VP                  R 4      '       d$   VP                  '       d   V P                  V4       M \        VP	                  4       4      V n        V P                  R8w  d   RV n        \        P                  ! \        V 4      pV P                  R8X  d#   V\        P                  ! \        V 4      ,           pV# )r   r   i   )ZisLoadedZrecalcBBoxesrecalclengetGlyphOrderr   r   r    Zpackr   r	   )r
   r   r   s   && r   compileZtable__m_a_x_p.compile/   s    Vv&&6+>+>+>F#V1134
* *D||ND1
*',,'94@@Dr   c                s   VR,          pVR,          pVR,          p\        V4      V n        RpV5pV5pV) pV) p	^ p
^ p^ p^ p^ p^ p^pVP                  4        EFH  pVV,          pVP                  '       g   K!  VV,          ^,          VP                  8w  d   ^ p\        VVP                  4      p\        VVP                  4      p\        VVP                  4      p\        V	VP                  4      p	VP                  ^ 8  d.   VP                  4       w  pp\        V
V4      p
\        VV4      pK  VP                  4       '       g   K  VP                  V4      w  ppp\        VV4      p\        VV4      p\        V\        VP                  4      4      p\        VV4      pEKK  	  We58X  d   ^ Vn        ^ Vn        ^ Vn        ^ Vn	        MWdn        Wtn        Wn        Wn	        Wn        Wn        Wn        Wn        Wn        Wn        V'       d   VP(                  ^,          Vn        R# VP(                  R,          Vn        R# )zRecalculate the font bounding box, and most other maxp values except
for the TT instructions values. Also recalculate the value of bit 1
of the flags field and the font bounding box of the 'head' table.
r   ZhmtxZheadi Ni)r   r   r   ZnumberOfContoursxMinZminyMinZmaxxMaxyMaxZgetMaxpValuesZisCompositeZgetCompositeMaxpValuesZ
components	maxPointsmaxContoursmaxCompositePointsmaxCompositeContoursmaxComponentElementsmaxComponentDepthZflags)r
   r   Z	glyfTableZ	hmtxTableZ	headTableZINFINITYr   r   r   r   r   r   r   r   r   r   ZallXMinIsLsbZ	glyphNameZgZnPointsZ	nContoursZcomponentDepths   &&                    r   r   Ztable__m_a_x_p.recalc=   s   
 6N	6N	6N	Yyyyy	  --/I)$A!!!Y'*aff4#$L4(4(4(4(%%))*):&GY #Iw 7I"%k9"=K]]__9:9Q9Q!:6GY *--?)I&+./CY+O(+./CSEV+W((+,=~(N%) 0* 9ININININ!N!N!N!N"&"4$8!$8!!2'oo3IO'oo4IOr   c                s    \        V P                  P                  4       4      p\        R 4       V F  p\        RV,          4       K  	  \        R 4       R# )z. . . . . . . . .z  %s: %sN)ZsortedZ__dict__itemsZprint)r
   r   Zcombos   &  r   testreprZtable__m_a_x_p.testrepr|   sB    t}}**,-!"E*u$% !"r   c                s   V P                   R 8w  d"   VP                  R4       VP                  4        \        P                  ! \
        4      w  r4pV P                   R 8w  d$   \        P                  ! \        4      w  r6p/ VCVCpV FB  p\        W4      pVR8X  d   \        V4      pVP                  WxR7       VP                  4        KD  	  R# )r   z7Most of this table will be recalculated by the compilerr   )valueN)
r   ZcommentZnewliner    Z	getformatr   r	   ZgetattrZhexZ	simpletag)	r
   Zwriterr   ZformatstringZnamesZfixesZ	names_1_0namer    s	   &&&      r   toXMLZtable__m_a_x_p.toXML   s    
*NNTUNN%,%6%6~%F"U
*-4->->?Q-R*LU*u*	*EDD'E~%E
T/NN r   c                s>    \        W\        VR ,          4      4       R# )r    N)Zsetattrr   )r
   r!   ZattrsZcontentr   s   &&&&&r   fromXMLZtable__m_a_x_p.fromXML   s    HU7^45r   )r   r   r   r   r   r   r   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Zdependenciesr   r   r   r   r"   r#   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s7      8L=5~#6 6r   r   N)	ZfontTools.miscr    ZfontTools.misc.textToolsr   Z r   r   r	   r   ) r   r   <module>r$      s1    " -  $v6\.. v6r   