+
    f7i  c                   sX    ^ RI Ht ^RIHt ^ RIt^ RI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_L_T_S_H_aG  Linear Threshold table

The ``LTSH`` table contains per-glyph settings indicating the ppem sizes
at which the advance width metric should be scaled linearly, despite the
effects of any TrueType instructions that might otherwise alter the
advance width.

See also https://learn.microsoft.com/en-us/typography/opentype/spec/ltsh
c                s    \         P                  ! R VR,          4      w  r4VR,          p\        P                  ! R4      pVP                  V4       / V n        \        V4       F'  pWV,          V P                  VP                  V4      &   K)  	  R# )>HH:N   N:r   NNBN)structZunpackarrayZ	frombytesyPelsZrangeZgetGlyphName)selfZdatattFontversion	numGlyphsr	   Zis   &&&    F/usr/lib64/python3.14/site-packages/fontTools/ttLib/tables/L_T_S_H_.py	decompileZtable_L_T_S_H_.decompile   so    #]]5$r(;Bx
 C 
y!A16DJJv**1-. "    c                sV   ^ p\        V P                  P                  4       4      p\        V4      p^ .V,          pV F'  pV P                  V,          WQP	                  V4      &   K)  	  \
        P
                  ! RV4      p\        P                  ! RW$4      VP                  4       ,           # )r    r   r   )	Zlistr	   keysZlenZ
getGlyphIDr   r   ZpackZtobytes)r
   r   r   namesr   r	   names   &&     r   compileZtable_L_T_S_H_.compile#   s    TZZ__&'J	i D-1ZZ-=E##D)* C'{{5'5GGr   c                s    \        V P                  P                  4       4      pV F7  pVP                  R W@P                  V,          R7       VP	                  4        K9  	  R# )yPel)r   valueN)Zsortedr	   r   Z	simpletagZnewline)r
   Zwriterr   r   r   s   &&&  r   toXMLZtable_L_T_S_H_.toXML/   sG    tzz()DV$jj6FGNN r   c                s    \        V R 4      '       g   / V n        VR8w  d   R# \        VR,          4      V P                  VR,          &   R# )r	   r   Nr   r   )Zhasattrr	   r   )r
   r   ZattrsZcontentr   s   &&&&&r   fromXMLZtable_L_T_S_H_.fromXML5   s;    tW%%DJ6>$,U7^$<

5=!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$     :
H= =r   r   )ZfontTools.misc.textToolsr   Z r   r   r   r   ) r   r   <module>r      s#    -   /=\.. /=r   