+
    K<i                     h    ^ 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                   H   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	                   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 # )N ttLibz7Glyph.graphicType must not be longer than 4 characters.z    )gid	glyphNamereferenceGlyphNameoriginOffsetXoriginOffsetYrawdatagraphicType	imageDatalen	fontToolsr   
TTLibError)
selfr   r   r   r   r   r   r   r   r   s
   &&&&&&&&& B/usr/lib/python3/dist-packages/fontTools/ttLib/tables/sbixGlyph.py__init__Glyph.__init__   s     ""4**&" '#t+#'#3#3CR#8 4##$q(+&&M  T%%&*  F+Ha#d6F6F2G.G$II  + (    c                N    V P                   R8H  ;'       g    V P                   R8H  # )zHReturns True if this glyph is a reference to another glyph's image data.dupeflip)r   )r   s   &r   is_reference_typeGlyph.is_reference_type9   s&    6)GGT-=-=-GGr   c                |   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)getGlyphNamer   r   r   r   r   r   r   sbixGlyphHeaderFormatSizer   unpacksbixGlyphHeaderFormatr    structr   r   )r   ttFontr   r   s   &&  r   	decompile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                   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   s   &&  r   compile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                   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 # )Nglyph)name)r   r3   r   r   ref)	glyphnamehexdata)r   	simpletagr   newlinebegintagr   r   r    r   dumphexr   endtag)r   	xmlWriterr)   s   &&&r   toXMLGlyph.toXMLl   s   # dnn=((,,,, 	 	
 	!!##1H1HIy)dnn-Y'!r   c                $   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)r4   z'''r5   r#   r6   r
   zcan't handle '%s' elementN)
r   r(   r-   r.   r   r   r   r   r   r   )r   r3   attrscontentr)   r5   r   s   &&&&&  r   fromXML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   )__name__
__module____qualname____firstlineno__r   r    r*   r/   r=   rB   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s-      JDH8&8G Gr   r   )fontTools.miscr   fontTools.misc.textToolsr   r   r(   r'   calcsizer%   objectr    r   r   <module>rP      s:    " 6   $,,-BC GF Gr   