HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/fontTools/ttLib/tables/_c_i_d_g.py
# coding: utf-8
from .otBase import BaseTTXConverter


class table__c_i_d_g(BaseTTXConverter):
    """The AAT ``cidg`` table has almost the same structure as ``gidc``,
    just mapping CIDs to GlyphIDs instead of the reverse direction.

    It is useful for fonts that may be used by a PDF renderer in lieu of
    a font reference with a known glyph collection but no subsetted
    glyphs.  For instance, a PDF can say “please use a font conforming
    to Adobe-Japan-1”; the ``cidg`` mapping is necessary if the font is,
    say, a TrueType font.  ``gidc`` is lossy for this purpose and is
    obsoleted by ``cidg``.

    For example, the first font in ``/System/Library/Fonts/PingFang.ttc``
    (which Apple ships pre-installed on MacOS 10.12.6) has a ``cidg`` table."""

    pass