+
    f7i  c                   sT    ^ RI Ht ^ RIHt ^RIHt  ! R R]P
                  4      tR# )    )BytesIO)cffLib)DefaultTablec                   sX   a  ] tR t^t o RtRR ltR tR tR tR t	R t
R	 tR
 tRtV tR# )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                s    \         P                   P                  W4       \        P                  ! 4       V n        R V n        R# )FN)r   __init__r   
CFFFontSetcff_gaveGlyphOrder)selfZtag   &&D/usr/lib64/python3.14/site-packages/fontTools/ttLib/tables/C_F_F_.pyr   Ztable_C_F_F_.__init__   s.    !!**45$$&$    c                s    V P                   P                  \        V4      VR R7       \        V P                   4      ^8X  g   Q R4       hR# )FZisCFF2z&can't deal with multi-font CFF tables.N)r   	decompiler   Zlen)r	   ZdataotFont   &&&r   r   Ztable_C_F_F_.decompile   s;    74=&?488}!K#KK!r   c                sp    \        4       pV P                  P                  W!R R7       VP                  4       # )Fr   )r   r   compileZgetvalue)r	   r   Zfs   && r   r   Ztable_C_F_F_.compile   s,    I51zz|r   c                s    \        V P                  V P                  P                  ^ ,          ,          R4      '       d   R# R# )r    ZROSFT)hasattrr   	fontNames)r	   s   &r   haveGlyphNamesZtable_C_F_F_.haveGlyphNames$   s-    488DHH..q12E::r   c                s    V P                   '       d   ^ RIHp VP                  R4      hRV n         V P                  V P                  P
                  ^ ,          ,          P                  4       # )r    )ttLibzillegal use of getGlyphOrder()T)r   	fontToolsr   Z
TTLibErrorr   r   getGlyphOrder)r	   r   s   & r   r   Ztable_C_F_F_.getGlyphOrder*   sR    '""#CDD#xx**1-.<<>>r   c                s    R # N )r	   Z
glyphOrderr
   r   setGlyphOrderZtable_C_F_F_.setGlyphOrder2   s    r   c                s<    V P                   P                  V4       R # r   )r   toXML)r	   Zwriterr   r   r   r   Ztable_C_F_F_.toXML7   s    vr   c                s    \        V R 4      '       g   \        P                  ! 4       V n        V P                  P	                  WW44       R# )r   N)r   r   r   r   fromXML)r	   ZnameZattrsZcontentr   s   &&&&&r   r   Ztable_C_F_F_.fromXML:   s3    tU##((*DHg6r   )r   r   r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   r   r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s8     %
L
?
7 7r   r   N)Zior   r   r   Z r   r   r   r   r   <module>r      s       77<,, 77r   