• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# coding: utf-8
2from .otBase import BaseTTXConverter
3
4
5class table__c_i_d_g(BaseTTXConverter):
6    """The AAT ``cidg`` table has almost the same structure as ``gidc``,
7    just mapping CIDs to GlyphIDs instead of the reverse direction.
8
9    It is useful for fonts that may be used by a PDF renderer in lieu of
10    a font reference with a known glyph collection but no subsetted
11    glyphs.  For instance, a PDF can say “please use a font conforming
12    to Adobe-Japan-1”; the ``cidg`` mapping is necessary if the font is,
13    say, a TrueType font.  ``gidc`` is lossy for this purpose and is
14    obsoleted by ``cidg``.
15
16    For example, the first font in ``/System/Library/Fonts/PingFang.ttc``
17    (which Apple ships pre-installed on MacOS 10.12.6) has a ``cidg`` table."""
18
19    pass
20