a
    —Æàg'  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é    )ÚBytesIO)Útable_C_F_F_c                   @   s    e Zd ZdZdd„ Zdd„ ZdS )Útable_C_F_F__2ar  Compact Font Format version 2 table

    The ``CFF2`` table contains glyph data for a CFF2-flavored OpenType
    font.

    .. note::
       ``CFF2`` is the successor to ``CFF``, and 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/cff2
    c                 C   s0   | j jt|ƒ|dd� t| j ƒdks,J dƒ‚d S )NT©ZisCFF2é   z&can't deal with multi-font CFF tables.)ÚcffÚ	decompiler   Úlen)ÚselfÚdataÚotFont© r   úX/var/www/sistema_ama/venv/lib/python3.9/site-packages/fontTools/ttLib/tables/C_F_F__2.pyr      s    ztable_C_F_F__2.decompilec                 C   s    t ƒ }| jj||dd� | ¡ S )NTr   )r   r   ÚcompileÚgetvalue)r
   r   Úfr   r   r   r      s    ztable_C_F_F__2.compileN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r      s   r   N)Úior   ZfontTools.ttLib.tables.C_F_F_r   r   r   r   r   r   Ú<module>   s   