+
    f7i  c                   sh    ^ RI Ht ^ RIHtHt ^ RItRt]P                  ! ]4      t ! R R]	4      t
R# )    )sstruct)readHexsafeEvalNa  
	>
	originOffsetX: h	# The x-value of the point in the glyph relative to its
						# lower-left corner which corresponds to the origin of
						# the glyph on the screen, that is the point on the
						# baseline at the left edge of the glyph.
	originOffsetY: h	# The y-value of the point in the glyph relative to its
						# lower-left corner which corresponds to the origin of
						# the glyph on the screen, that is the point on the
						# baseline at the left edge of the glyph.
	graphicType:  4s	# e.g. "png "
c                   sH   a  ] tR t^t o R	R ltR tR tR tR tR t	Rt
V tR# )
GlyphNc	                s   Wn         Wn        W n        W0n        W@n        Wpn        WPn        W`n        V P                  e   V P                  R,          R8X  d   V P                  R R V n        \        V P                  4      ^8  d   ^ RI	H
p	 V	P                  R4      h\        V P                  4      ^8  d9   V ;P                  RR ^\        V P                  4      ,
           ,          un        R # R # R # )NZ ttLibz7Glyph.graphicType must not be longer than 4 characters.z    i)gid	glyphNamereferenceGlyphNameoriginOffsetXoriginOffsetYrawdatagraphicType	imageDatalen	fontToolsr   
TTLibError)
selfr   r	   r
   r   r   r   r   r   r   s
   &&&&&&&&& G/usr/lib64/python3.14/site-packages/fontTools/ttLib/tables/sbixGlyph.py__init__ZGlyph.__init__   s     ""4**&" '#t+#'#3#3CR#8 4##$q(+&&M  T%%&*  F+Ha#d6F6F2G.G$II  + (    c                sN    V P                   R8H  ;'       g    V P                   R8H  # )zHReturns True if this glyph is a reference to another glyph's image data.ZdupeZflip)r   )r   s   &r   is_reference_typeZGlyph.is_reference_type9   s&    6)GGT-=-=-GGr   c                s|   VP                  V P                  4      V n        V P                  f   ^ RIHp VP                  R4      h\        V P                  4      ^ 8  d   \        V P                  4      \        8  d   ^ RIHp VP                  R4      h\        P                  ! \        V P                  R \         V 4       V P                  4       '       dB   \        P                  ! RV P                  \        R  4      w  pVP                  V4      V n        MV P                  \        R  V n        R V n        V =V =R # )Nr   zNo table data to decompilezGlyph header too short.>H)ZgetGlyphNamer   r   r   r   r   r   r   sbixGlyphHeaderFormatSizer   ZunpacksbixGlyphHeaderFormatr   structr	   r   )r   ttFontr   r      &&  r   	decompileZGlyph.decompile=   s    ,,TXX6<<'""#?@@t||q 4<< #<<+ &&'@AANN%t||4N5N'OQU %%''tT\\:S:T-UV*0*=*=c*B'!%.G.H!I*.'LHr   c                s   V P                   f   ^ RIHp VP                  R4      h\        P
                  ! RVP                  V P                   4      4      V n        V P                  f   RpM\        P
                  ! \        V 4      pV P                  4       '       d9   V\        P
                  ! RVP                  V P                  4      4      ,          pM"V P                  f   Q hW0P                  ,          pW0n        R # )Nr   z&Can't compile Glyph without glyph namer   r   )r   r   r   r   r   pack
getGlyphIDr   r   r   r   r   r	   r   r   )r   r   r   r   r   r   compileZGlyph.compileY   s    >>!'""#KLL ;;tV%6%6t~~%FG#Gll#8$?G%%''6;;tV->->t?V?V-WXX~~111>>)r   c                s   V P                   f0   VP                  RV P                  R7       VP                  4        R # VP	                  RV P                   V P                  V P
                  V P                  R7       VP                  4        V P                  4       '       d   VP                  RV P                  R7       MMVP	                  R4       VP                  4        VP                  V P                  4       VP                  R4       VP                  4        VP                  R4       VP                  4        R # )NZglyph)name)r   r!   r
   r   ref)	glyphnamehexdata)r   Z	simpletagr   ZnewlineZbegintagr
   r   r   r	   Zdumphexr   Zendtag)r   Z	xmlWriterr   s   &&&r   toXMLZGlyph.toXMLl   s   # dnn=((,,,, 	 	
 	!!##1H1HIy)dnn-Y'!r   c                s$   VR 8X  dT   \        RVR,          ,           R,           4      p\        P                  ! RVP                  V4      4      V n        WPn        R# VR8X  d   \        V4      V n        R# ^ RIHp VP                  RV,          4      h)r"   z'''r#   r   r$   r   zcan't handle '%s' elementN)
r   r   r   r   r   r	   r   r   r   r   )r   r!   ZattrsZcontentr   r#   r   s   &&&&&  r   fromXMLZGlyph.fromXML   su    5= !{);!;e!CDI#[[v/@/@/KLDN&/#Y$W-DN'""#>#EFFr   )r   r   r   r   r
   r   r   r	   )NNr    r    NNNr    )Z__name__Z
__module__Z__qualname__Z__firstlineno__r   r   r   r    r%   r&   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s-      JDH8&8G Gr   r   )ZfontTools.miscr   ZfontTools.misc.textToolsr   r   r   r   Zcalcsizer   Zobjectr   ) r   r   <module>r'      s:    " 6   $,,-BC GF Gr   