### ----------------------------------------------------
### -- PDF::ISO_32000_2
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: resources/ISO_32000_2/Table_115-Entries_in_a_CIDFont_dictionary.json
### ----------------------------------------------------
{
  "table": {
    "caption": "Table 115 — Entries in a CIDFont dictionary",
    "head": [
      "Key",
      "Type",
      "Value"
    ],
    "rows": [
      [
        "Type",
        "name",
        "(Required) The type of PDF object that this dictionary describes; is Font for a CIDFont dictionary."
      ],
      [
        "Subtype",
        "name",
        "(Required) The type of CIDFont is CIDFontType0 or CIDFontType2."
      ],
      [
        "BaseFont",
        "name",
        "(Required) The PostScript name of the CIDFont. For Type 0 CIDFonts, this is the value of the CIDFontName entry in the CIDFont program. For Type 2 CIDFonts, it is derived the same way as for a simple TrueType font; see 9.6.3, \"TrueType fonts\". In either case, the name may have a subset prefix if appropriate; see 9.9.2, \"Font subsets\"."
      ],
      [
        "CIDSystemInfo",
        "dictionary",
        "(Required) A dictionary containing entries that define the character collection of the CIDFont. See \"Table 114 — Entries in a CIDSystemInfo dictionary\"."
      ],
      [
        "FontDescriptor",
        "dictionary",
        "(Required; is an indirect reference) A font descriptor describing the CIDFont’s default metrics other than its glyph widths (see 9.8, \"Font descriptors\")."
      ],
      [
        "DW",
        "number",
        "(Optional) The default width for glyphs in the CIDFont (see 9.7.4.3, \"Glyph metrics in CIDFonts\"). Default value: 1000."
      ],
      [
        "W",
        "array",
        "(Optional) A description of the widths for the glyphs in the CIDFont.\nNOTE The array’s elements have a variable format that can specify individual widths for consecutive CIDs or one width for a range of CIDs (see 9.7.4.3, \"Glyph metrics in CIDFonts\").\nDefault value: none (the DW value is used for all glyphs)."
      ],
      [
        "DW2",
        "array",
        "(Optional; applies only to CIDFonts used for vertical writing) An array of two numbers specifying the default metrics for vertical writing (see 9.7.4.3, \"Glyph metrics in CIDFonts\"). Default value: [880 -1000]."
      ],
      [
        "W2",
        "array",
        "(Optional; applies only to CIDFonts used for vertical writing) A description of the metrics for vertical writing for the glyphs in the CIDFont (see 9.7.4.3, \"Glyph metrics in CIDFonts\"). Default value: none (the DW2 value is used for all glyphs)."
      ],
      [
        "CIDToGIDMap",
        "stream or name",
        "(Required for Type 2 CIDFonts with embedded font programs) A specification of the mapping from CIDs to glyph indices. If the value is a stream, the bytes in the stream contains the mapping from CIDs to glyph indices: the glyph index for a particular CID value c is a 2-byte value stored in bytes 2 × \uD835\uDC50 and 2 × \uD835\uDC50+ 1, where the first byte is the high-order byte. If the value of CIDToGIDMap is a name, it is Identity, indicating that the mapping between CIDs and glyph indices is the identity mapping."
      ]
    ]
  }
}


