
    g'                     2    d dl mZ d dlmZ  G d de      Zy)    )BytesIO)table_C_F_F_c                       e Zd ZdZd Zd Zy)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                     | j                   j                  t        |      |d       t        | j                         dk(  sJ d       y )NTisCFF2   z&can't deal with multi-font CFF tables.)cff	decompiler   len)selfdataotFonts      \/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/fontTools/ttLib/tables/C_F_F__2.pyr   ztable_C_F_F__2.decompile   s;    74=&>488}!K#KK!    c                 r    t               }| j                  j                  ||d       |j                         S )NTr   )r   r   compilegetvalue)r   r   fs      r   r   ztable_C_F_F__2.compile   s.    IF40zz|r   N)__name__
__module____qualname____doc__r   r    r   r   r   r      s    Lr   r   N)ior   fontTools.ttLib.tables.C_F_F_r   r   r   r   r   <module>r      s     6\ r   