• 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``,
7just mapping CIDs to GlyphIDs instead of the reverse direction.
8
9It is useful for fonts that may be used by a PDF renderer in lieu of
10a font reference with a known glyph collection but no subsetted
11glyphs.  For instance, a PDF can say “please use a font conforming
12to Adobe-Japan-1”; the ``cidg`` mapping is necessary if the font is,
13say, a TrueType font.  ``gidc`` is lossy for this purpose and is
14obsoleted by ``cidg``.
15
16For 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