ó
    oñ:i¤  ã                   óf   • S SK Jr  S SKJrJr  S SKrSr\R                  " \5      r " S S\	5      r
g)é    )Ú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                   óL   • \ rS rSr        S
S jrS rS rS rS rS r	S	r
g)ÚGlyphé   Nc	                 ó¾  • X€l         Xl        X l        X0l        X@l        Xpl        XPl        X`l        U R                  b   U R                  S   S:X  a  U R                  S S U l        [        U R                  5      S:”  a  SSK	J
n	  U	R                  S5      e[        U R                  5      S:  a/  U =R                  SS S[        U R                  5      -
   -  sl        g g g )NéÿÿÿÿÚ é   r   ©Ú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
             Úc/srv/projetos/modelo_ml_acdoc/venv/lib/python3.13/site-packages/fontTools/ttLib/tables/sbixGlyph.pyÚ__init__ÚGlyph.__init__   sÚ   € ð ŒØ"ŒØ"4ÔØ*ÔØ*ÔØŒØ&ÔØ"Œð ×ÑÑ'Ø×Ñ Ñ# tÓ+Ø#'×#3Ñ#3°C°RÐ#8�Ô Ü�4×#Ñ#Ó$ qÓ(Ý+à×&Ñ&ØMóð ô �T×%Ñ%Ó&¨Ó*à× Ò  FÐ+H¨a´#°d×6FÑ6FÓ2GÑ.GÐ$IÑIÖ ð +ð (ó    c                 óL   • U R                   S:H  =(       d    U R                   S:H  $ )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¨T×-=Ñ-=ÀÑ-GÐGr   c                 ór  • UR                  U R                  5      U l        U R                  c  SSKJn  UR                  S5      e[        U R                  5      S:”  aÖ  [        U R                  5      [        :  a  SSKJn  UR                  S5      e[        R                  " [        U R                  S [         U 5        U R                  5       (       aA  [        R                  " SU R                  [        S  5      u  nUR                  U5      U l        OU R                  [        S  U l        S U l        U ?U ?g )Nr   r   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û   € Ø×,Ñ,¨T¯X©XÓ6ˆŒØ�<‰<ÑÝ'à×"Ñ"Ð#?Ó@Ð@Üˆt�|‰|Ó˜qÓ Ü�4—<‘<Ó Ô#<Ó<Ý+ð ×&Ñ&Ð'@ÓAÐAä�NŠNÜ% t§|¡|Ð4NÔ5NÐ'OÐQUôð ×%Ñ%×'Ñ'äŸš t¨T¯\©\Ô:SÐ:TÐ-UÓV‘�Ø*0×*=Ñ*=¸cÓ*B�Õ'à!%§¡Ô.GÐ.HÐ!I�”Ø*.�Ô'àˆLØ‰Hr   c                 óä  • U R                   c  SSKJn  UR                  S5      e[        R
                  " SUR                  U R                   5      5      U l        U R                  c  SnO�[        R
                  " [        U 5      nU R                  5       (       a4  U[        R
                  " SUR                  U R                  5      5      -  nOU R                  c   eX0R                  -  nX0l        g )Nr   r   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ô —;’;˜t V×%6Ñ%6°t·~±~Ó%FÓGˆŒØ×ÑÑ#Ø‰Gä—l’lÔ#8¸$Ó?ˆGØ×%Ñ%×'Ñ'Øœ6Ÿ;š; t¨V×->Ñ->¸t×?VÑ?VÓ-WÓXÑX‘à—~‘~Ñ1Ð1Ð1ØŸ>™>Ñ)�Ø�r   c                 óf  • U R                   c+  UR                  SU R                  S9  UR                  5         g UR	                  SU R                   U R                  U R
                  U R                  S9  UR                  5         U R                  5       (       a  UR                  SU R                  S9  OMUR	                  S5        UR                  5         UR                  U R                  5        UR                  S5        UR                  5         UR                  S5        UR                  5         g )NÚglyph)Úname)r   r5   r   r   Úref)Ú	glyphnameÚhexdata)r   Ú	simpletagr   ÚnewlineÚbegintagr   r   r"   r   Údumphexr   Úendtag)r   Ú	xmlWriterr+   s      r   ÚtoXMLÚGlyph.toXMLl   s  € Ø×ÑÑ#ð ×Ñ ¨d¯n©nÐÑ=Ø×ÑÔØØ×ÑØØ×(Ñ(Ø—‘Ø×,Ñ,Ø×,Ñ,ð 	ñ 	
ð 	×ÑÔØ×!Ñ!×#Ñ#à×Ñ °×1HÑ1HÐÒIà×Ñ˜yÔ)Ø×ÑÔØ×Ñ˜dŸn™nÔ-Ø×Ñ˜YÔ'Ø×ÑÔØ×Ñ˜Ô!Ø×ÑÕr   c                 óü   • US:X  aF  [        SUS   -   S-   5      n[        R                  " SUR                  U5      5      U l        XPl        g US:X  a  [        U5      U l        g SSKJn  UR                  SU-  5      e)	Nr6   z'''r7   r%   r8   r   r   zcan't handle '%s' element)
r   r*   r/   r0   r   r   r   r   r   r   )r   r5   ÚattrsÚcontentr+   r7   r   s          r   ÚfromXMLÚGlyph.fromXMLˆ   su   € Ø�5‹=ô ! ¨¨{Ñ);Ñ!;¸eÑ!CÓDˆIÜ#Ÿ[š[¨¨v×/@Ñ/@ÀÓ/KÓLˆDŒNØ&/Õ#Ø�YÓÜ$ WÓ-ˆD�Nå'à×"Ñ"Ð#>ÀÑ#EÓFÐFr   )r   r   r   r   r   r   r   r   )NNr   r   NNNr   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r"   r,   r1   r?   rD   Ú__static_attributes__© r   r   r   r      s>   † ð ØØØØØØØô JòDHòò8ò&õ8Gr   r   )ÚfontTools.miscr   ÚfontTools.misc.textToolsr   r   r*   r)   Úcalcsizer'   Úobjectr   rK   r   r   Ú<module>rP      s:   ðÝ "ß 6Û ðÐ ð $×,Ò,Ð-BÓCÐ ôGˆFõ Gr   