Table 117 – Entries in a CIDFont dictionary

Key

Type

Value

Type

name

(Required) The type of PDF object that this dictionary describes; shall be Font for a CIDFont dictionary.

Subtype

name

(Required) The type of CIDFont shall be CIDFontType0 or CIDFontType2.

BaseFont

name

(Required) The PostScript name of the CIDFont. For Type 0 CIDFonts, this shall be the value of the CIDFontName entry in the CIDFont program. For Type 2 CIDFonts, it shall be 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.6.4, "Font Subsets" .

CIDSystemInfo

dictionary

(Required) A dictionary containing entries that define the character collection of the CIDFont. See Ta b l e 116 .

FontDescriptor

dictionary

(Required; shall be an indirect reference) A font descriptor describing the CIDFont’s default metrics other than its glyph widths (see 9.8, "Font Descriptors" ).

DW

integer

(Optional) The default width for glyphs in the CIDFont (see 9.7.4.3, "Glyph Metrics in CIDFonts" ). Default value: 1000 (defined in user units).

W

array

(Optional) A description of the widths for the glyphs in the CIDFont.

NOTE 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" ).

Default value: none (the DW value shall be 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 shall be used for all glyphs).

CIDToGIDMap

stream or name

(Optional; Type 2 CIDFonts only) A specification of the mapping from CIDs to glyph indices. If the value is a stream, the bytes in the stream shall contain the mapping from CIDs to glyph indices: the glyph index for a particular CID value c shall be a 2-byte value stored in bytes 2 × c and 2 × c + 1, where the first byte shall be the high-order byte. If the value of CIDToGIDMap is a name, it shall be Identity, indicating that the mapping between CIDs and glyph indices is the identity mapping. Default value: Identity.

This entry may appear only in a Type 2 CIDFont whose associated TrueType font program is embedded in the PDF file.