+
    f7i  c                   s`    ^ RI Ht ^RIHt ^ RIt^t^t^t^t ! R R]P                  4      t	R# )    )safeEval)DefaultTableNc                   s<   a  ] tR t^t o RtR tR tR tR tRt	V t
R# )table__g_a_s_pa  Grid-fitting and Scan-conversion Procedure table

The ``gasp`` table defines the preferred rasterization settings for
the font when rendered on monochrome and greyscale output devices.

See also https://learn.microsoft.com/en-us/typography/opentype/spec/gasp
c                s*   \         P                  ! R VR,          4      w  V n        pVR,          p/ V n        \	        V4       FM  p\         P                  ! R VR,          4      w  rV\        V4      V P                  \        V4      &   VR,          pKO  	  R# )>HH:N   N:r   NNN)structZunpackversion	gaspRangeZrangeZint)selfdatattFont	numRangesZirangeMaxPPEMrangeGaspBehaviors   &&&    F/usr/lib64/python3.14/site-packages/fontTools/ttLib/tables/_g_a_s_p.py	decompileZtable__g_a_s_p.decompile   su    "(--tBx"@iBxy!A.4mmE48.L+L034E0FDNN3|,-8D "    c                sR   ^ p\        V P                  4      pRp\        V P                  P                  4       4      pV FF  w  rgV\        P
                  ! RWg4      ,           pV\        \        ,          ( ,          '       g   KD  ^pKH  	  \        P
                  ! RW#4      V,           pV# )r    r   r   )Zlenr   sorteditemsr   ZpackGASP_GRIDFITGASP_DOGRAY)r	   r   r   r   r
   r   r   r   s   &&      r   compileZtable__g_a_s_p.compile    s    '	t~~++-./4+L&++e\MMD \K%?#@@@ 05 {{5'5<r   c                s    \        V P                  P                  4       4      pV F-  w  rEVP                  R RV3RV3.4       VP	                  4        K/  	  R# )r   r   r   N)r   r   r   Z	simpletagZnewline)r	   Zwriterr   r   r   r   s   &&&   r   toXMLZtable__g_a_s_p.toXML,   sY    t~~++-./4+L#\2(*;< NN 05r   c                s    VR 8w  d   R# \        V R 4      '       g   / V n        \        VR,          4      V P                  \        VR,          4      &   R# )r   Nr   r   )Zhasattrr   r   )r	   ZnameZattrsZcontentr   s   &&&&&r   fromXMLZtable__g_a_s_p.fromXML8   sG    ;t[))DN:B%&;
xn 567r   )r   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s#     	)


 
r   r   )
ZfontTools.misc.textToolsr   Z r   r   ZGASP_SYMMETRIC_GRIDFITZGASP_SYMMETRIC_SMOOTHINGr   r   r   ) r   r   <module>r      s8    -     ! 3
\.. 3
r   