Click or drag to resize

FontStockNames Enumeration

Represents standard Type 1 Fonts (Standard 14 Fonts). The PostScript names of 14 Type 1 fonts, known as the standard 14 fonts, are as follows:

Namespace: Patagames.Pdf.Enums
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
public enum FontStockNames
Member nameValueDescription
Arial0 Synonym for Helvetica
ArialBold1 Synonym for Helvetica−Bold
ArialBoldOblique2 Synonym for Helvetica−BoldOblique
ArialOblique3 Synonym for Helvetica−Oblique
Courier4 Courier
CourierBold5 Courier−Bold
CourierBoldOblique6 Courier−BoldOblique
CourierOblique7 Courier−Oblique
Helvetica8 Helvetica
HelveticaBold9 Helvetica−Bold
HelveticaBoldOblique10 Helvetica−BoldOblique
HelveticaOblique11 Helvetica−Oblique
TimesRoman12 Times−Roman
TimesBold13 Times−Bold
TimesBoldItalic14 Times−BoldItalic
TimesItalic15 Times−Italic
Symbol16 Symbol
ZapfDingbats17 ZapfDingbats
These fonts, or their font metrics and suitable substitution fonts, must be available to the consumer application. The character sets and encodings for these fonts are listed in Appendix D of PDF Reference 1.7. The Adobe font metrics (AFM) files for the standard 14 fonts are available from the ASN Web site. For more information on font metrics, see Adobe Technical Note #5004, Adobe Font Metrics File Format Specification.

Ordinarily, a font dictionary that refers to one of the standard fonts should omit the FirstChar, LastChar, Widths, and FontDescriptor entries. However, it is permissible to override a standard font by including these entries and embedding the font program in the PDF file. (See implementation note 62 in Appendix H in PDF Reference 1.7.)

Note  Note
Beginning with PDF 1.5, the special treatment given to the standard 14 fonts is deprecated. All fonts used in a PDF document should be represented using a complete font descriptor. For backwards capability, viewer applications must still provide the special treatment identified for the standard 14 fonts.
See Also