Previous Next


                                                437
          SECTION 5.6                                                          Composite Fonts



KEY              TYPE         VALUE

CIDSystemInfo    dictionary   (Required) A dictionary containing entries that define the character collec-
                              tion of the CIDFont. See Table 5.13 on page 435.

FontDescriptor   dictionary   (Required; must be an indirect reference) A font descriptor describing the
                              CIDFont’s default metrics other than its glyph widths (see Section 5.7, “Font
                              Descriptors”).

DW               integer      (Optional) The default width for glyphs in the CIDFont (see “Glyph Metrics
                              in CIDFonts” on page 439). Default value: 1000.

W                array        (Optional) A description of the widths for the glyphs in the CIDFont. 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 “Glyph Metrics
                              in CIDFonts” on page 439). Default 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 “Glyph
                              Metrics in CIDFonts” on page 439). 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 “Glyph
                              Metrics in CIDFonts” on page 439). Default value: none (the DW2 value is
                              used for all glyphs).

CIDToGIDMap      stream       (Optional; Type 2 CIDFonts only) A specification of the mapping from CIDs
                 or name      to glyph indices. If the value is a stream, the bytes in the stream contain 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 × c and 2 × c + 1, where the first
                              byte is the high-order byte. If the value of CIDToGIDMap is a name, it must
                              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 True-
                              Type font program is embedded in the PDF file (see the next section).


          Glyph Selection in CIDFonts

          Type 0 and Type 2 CIDFonts handle the mapping from CIDs to glyph descrip-
          tions in somewhat different ways.

Previous Next