Previous Next


                                                          456
             CHAPTER 5                                                                                  Text



             listed in Table 5.19. Additional entries in the font descriptor for a CIDFont are de-
             scribed in Section 5.7.2, “Font Descriptors for CIDFonts.” All integer values are
             units in glyph space. The conversion from glyph space to text space is described
             in Section 5.1.3, “Glyph Positioning and Metrics.”

                                  TABLE 5.19 Entries common to all font descriptors
KEY                 TYPE              VALUE

Type                name              (Required) The type of PDF object that this dictionary describes; must be
                                      FontDescriptor for a font descriptor.

FontName            name              (Required) The PostScript name of the font. This name should be the same as
                                      the value of BaseFont in the font or CIDFont dictionary that refers to this
                                      font descriptor.

FontFamily          byte string       (Optional; PDF 1.5; strongly recommended for Type 3 fonts in Tagged PDF doc-
                                      uments) A byte string specifying the preferred font family name. For example,
                                      for the font Times Bold Italic, the FontFamily is Times.

FontStretch         name              (Optional; PDF 1.5; strongly recommended for Type 3 fonts in Tagged PDF doc-
                                      uments) The font stretch value. It must be one of the following names (or-
                                      dered from narrowest to widest): UltraCondensed, ExtraCondensed,
                                      Condensed, SemiCondensed, Normal, SemiExpanded, Expanded, ExtraExpand-
                                      ed or UltraExpanded.

                                      Note: The specific interpretation of these values varies from font to font. For ex-
                                      ample, Condensed in one font may appear most similar to Normal in another.

FontWeight          number            (Optional; PDF 1.5; strongly recommended for Type 3 fonts in Tagged PDF doc-
                                      uments) The weight (thickness) component of the fully-qualified font name
                                      or font specifier. The possible values are 100, 200, 300, 400, 500, 600, 700,
                                      800, or 900, where each number indicates a weight that is at least as dark as its
                                      predecessor. A value of 400 indicates a normal weight; 700 indicates bold.
                                      Note: The specific interpretation of these values varies from font to font. For ex-
                                      ample, 300 in one font may appear most similar to 500 in another.

Flags               integer           (Required) A collection of flags defining various characteristics of the font
                                      (see Section 5.7.1, “Font Descriptor Flags”).

FontBBox            rectangle         (Required, except for Type 3 fonts) A rectangle (see Section 3.8.4, “Rectan-
                                      gles”), expressed in the glyph coordinate system, specifying the font bounding
                                      box. This is the smallest rectangle enclosing the shape that would result if all
                                      of the glyphs of the font were placed with their origins coincident and then
                                      filled.

Previous Next