Ë
    £ehº  ã                   óR   — d dl mZ d dlmZ ddlmZ  G d„ dej
                  «      Zy)é    )ÚBytesIO)ÚcffLibé   )ÚDefaultTablec                   óB   — e Zd ZdZdd„Zd„ Zd„ Zd„ Zd„ Zd„ Z	d	„ Z
d
„ Zy)Útable_C_F_F_a  Compact Font Format table (version 1)

    The ``CFF`` table embeds a CFF-formatted font. The CFF font format
    predates OpenType and could be used as a standalone font file, but the
    ``CFF`` table is also used to package CFF fonts into an OpenType
    container.

    .. note::
       ``CFF`` has been succeeded by ``CFF2``, which eliminates much of
       the redundancy incurred by embedding CFF version 1 in an OpenType
       font.

    See also https://learn.microsoft.com/en-us/typography/opentype/spec/cff
    Nc                 ó„   — t         j                   j                  | |«       t        j                  «       | _        d| _        y )NF)r   Ú__init__r   Ú
CFFFontSetÚcffÚ_gaveGlyphOrder)ÚselfÚtags     ú[/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/fontTools/ttLib/tables/C_F_F_.pyr
   ztable_C_F_F_.__init__   s0   € Ü×!Ñ!×*Ñ*¨4°Ô5Ü×$Ñ$Ó&ˆŒØ$ˆÕó    c                 ó�   — | j                   j                  t        |«      |d¬«       t        | j                   «      dk(  sJ d«       ‚y )NF©ÚisCFF2r   z&can't deal with multi-font CFF tables.)r   Ú	decompiler   Úlen)r   ÚdataÚotFonts      r   r   ztable_C_F_F_.decompile   s;   € Ø�‰×Ñœ7 4›=¨&¸ÐÔ?Ü�4—8‘8‹} Ò!ÐKÐ#KÓKÑ!r   c                 ór   — t        «       }| j                  j                  ||d¬«       |j                  «       S )NFr   )r   r   ÚcompileÚgetvalue)r   r   Úfs      r   r   ztable_C_F_F_.compile   s.   € Ü‹IˆØ�‰×Ñ˜˜F¨5ÐÔ1Ø�z‰z‹|Ðr   c                 óf   — t        | j                  | j                  j                  d      d«      ryy)Nr   ÚROSFT)Úhasattrr   Ú	fontNames)r   s    r   ÚhaveGlyphNamesztable_C_F_F_.haveGlyphNames$   s*   € Ü�4—8‘8˜DŸH™H×.Ñ.¨qÑ1Ñ2°EÔ:Øàr   c                 ó¾   — | j                   rddlm} |j                  d«      ‚d| _         | j                  | j                  j
                  d      j                  «       S )Nr   )ÚttLibzillegal use of getGlyphOrder()T)r   Ú	fontToolsr#   Ú
TTLibErrorr   r    ÚgetGlyphOrder)r   r#   s     r   r&   ztable_C_F_F_.getGlyphOrder*   sO   € Ø×ÒÝ'à×"Ñ"Ð#CÓDÐDØ#ˆÔØ�x‰x˜Ÿ™×*Ñ*¨1Ñ-Ñ.×<Ñ<Ó>Ð>r   c                  ó   — y ©N© )r   Ú
glyphOrders     r   ÚsetGlyphOrderztable_C_F_F_.setGlyphOrder2   s   € Ør   c                 ó:   — | j                   j                  |«       y r(   )r   ÚtoXML)r   Úwriterr   s      r   r-   ztable_C_F_F_.toXML7   s   € Ø�‰�‰�vÕr   c                 óŠ   — t        | d«      st        j                  «       | _        | j                  j	                  ||||«       y )Nr   )r   r   r   r   ÚfromXML)r   ÚnameÚattrsÚcontentr   s        r   r0   ztable_C_F_F_.fromXML:   s4   € Ü�t˜UÔ#Ü×(Ñ(Ó*ˆDŒHØ�‰×Ñ˜˜u g¨vÕ6r   r(   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   r   r!   r&   r+   r-   r0   r)   r   r   r   r      s0   „ ñó%ò
Lòò
ò?òò
ó7r   r   N)Úior   r$   r   Ú r   r   r)   r   r   ú<module>r:      s    ðÝ Ý Ý ô77�<×,Ñ,õ 77r   