Previous Next


                                                        458
            CHAPTER 5                                                                               Text



KEY                TYPE             VALUE

FontFile3          stream           (Optional; PDF 1.2) A stream containing a font program whose format is
                                    specified by the Subtype entry in the stream dictionary (see Table 5.23 and
                                    implementation note 68 in Appendix H).
                                    At most, only one of the FontFile, FontFile2, and FontFile3 entries may be
                                    present.

CharSet            ASCII string     (Optional; meaningful only in Type 1 fonts; PDF 1.1) A string listing the char-
                   or byte string   acter names defined in a font subset. The names in this string must be in PDF
                                    syntax—that is, each name preceded by a slash (/). The names can appear in
                                    any order. The name . notdef should be omitted; it is assumed to exist in the
                                    font subset. If this entry is absent, the only indication of a font subset is the
                                    subset tag in the FontName entry (see Section 5.5.3, “Font Subsets”).


    5.7.1 Font Descriptor Flags

            The value of the Flags entry in a font descriptor is an unsigned 32-bit integer con-
            taining flags specifying various characteristics of the font. Bit positions within the
            flag word are numbered from 1 (low-order) to 32 (high-order). Table 5.20 shows
            the meanings of the flags; all undefined flag bits are reserved and must be set to 0.
            Figure 5.13 shows examples of fonts with these characteristics.

                                              TABLE 5.20 Font flags
BIT POSITION      NAME              MEANING

1                 FixedPitch        All glyphs have the same width (as opposed to proportional or variable-pitch
                                    fonts, which have different widths).

2                 Serif             Glyphs have serifs, which are short strokes drawn at an angle on the top and
                                    bottom of glyph stems. (Sans serif fonts do not have serifs.)

3                 Symbolic          Font contains glyphs outside the Adobe standard Latin character set. This
                                    flag and the Nonsymbolic flag cannot both be set or both be clear (see be-
                                    low).

4                 Script            Glyphs resemble cursive handwriting.

6                 Nonsymbolic       Font uses the Adobe standard Latin character set or a subset of it (see below).

7                 Italic            Glyphs have dominant vertical strokes that are slanted.

Previous Next