The Plotutils Package - Text Fonts

Go to the first, previous, next, last section, table of contents.

## Available text fonts

The `libplot` library and applications built on it, such as `graph`, `plot`, `tek2plot`, and `pic2plot`, can use many fonts. These include 22 Hershey vector fonts, 35 Postscript fonts, 45 PCL 5 fonts, and 18 Hewlett--Packard vector fonts. We call these 120 supported fonts the `built-in' fonts. The Hershey fonts are constructed from stroked characters digitized c. 1967 by Dr. Allen V. Hershey at the U.S. Naval Surface Weapons Center in Dahlgren, VA. The 35 Postscript fonts are the outline fonts resident in all modern Postscript printers, and the 45 PCL 5 fonts are the outline fonts resident in modern Hewlett--Packard LaserJet printers and plotters. (The old LaserJet III, which was Hewlett--Packard's first PCL 5 printer, supported only 8 of the 45.) The 18 Hewlett--Packard vector fonts are fonts that are resident in Hewlett--Packard printers and plotters (mostly the latter).

The Hershey fonts can be used by all types of Plotter supported by `libplot`, and the Postscript fonts can be used by X, Illustrator, Postscript, and Fig Plotters. So, for example, all variants of `graph` can use the Hershey fonts, and `graph -T X`, `graph -T ai`, `graph -T ps` and `graph -T fig` can use the Postscript fonts. The PCL 5 fonts can be used by by Illustrator, PCL, and HP-GL Plotters, and by `graph -T ai`, `graph -T pcl`, and `graph -T hpgl`. The Hewlett--Packard vector fonts can be used by by PCL and HP-GL Plotters, and by `graph -T pcl` and `graph -T hpgl`. X Plotters and `graph -T X` are not restricted to the built-in Hershey and Postscript fonts. They can use any X Window System font.

The `plotfont` utility, which accepts the ``-T'` option, will print a character map of any font that is available in the specified output format. See section The `plotfont` Utility.

For the purpose of plotting text strings (see section Text string format and escape sequences), the 120 built-in fonts are divided into typefaces. As you can see from the following tables, our convention is that in any typeface with more than a single font, font #1 is the normal font, font #2 is italic or oblique, font #3 is bold, and font #4 is bold italic or bold oblique. Additional variants (if any) are numbered #5 and higher.

The 22 Hershey fonts are divided into typefaces as follows.

- HersheySerif
  1. HersheySerif
  2. HersheySerif-Italic
  3. HersheySerif-Bold
  4. HersheySerif-BoldItalic
  5. HersheyCyrillic
  6. HersheyCyrillic-Oblique
  7. HersheyEUC
- HersheySans
  1. HersheySans
  2. HersheySans-Oblique
  3. HersheySans-Bold
  4. HersheySans-BoldOblique
- HersheyScript
  1. HersheyScript
  2. HersheyScript
  3. HersheyScript-Bold
  4. HersheyScript-Bold
- HersheyGothicEnglish
- HersheyGothicGerman
- HersheyGothicItalian
- HersheySerifSymbol
  1. HersheySerifSymbol
  2. HersheySerifSymbol-Oblique
  3. HersheySerifSymbol-Bold
  4. HersheySerifSymbol-BoldOblique
- HersheySansSymbol
  1. HersheySansSymbol
  2. HersheySansSymbol-Oblique

Nearly all Hershey fonts except the Symbol fonts use the ISO-Latin-1 encoding, which is a superset of ASCII. The Symbol fonts consist of Greek characters and mathematical symbols, and use the symbol font encoding documented in the Postscript Language Reference Manual. By convention, each Hershey typeface contains a symbol font (HersheySerifSymbol or HersheySansSymbol, as appropriate) as font #0.

HersheyCyrillic, HersheyCyrillic-Oblique, and HersheyEUC (which is a Japanese font) are the only non-Symbol Hershey fonts that do not use the ISO-Latin-1 encoding. For their encodings, see section Cyrillic and Japanese fonts.

The 35 Postscript fonts are divided into typefaces as follows.

- Helvetica
  1. Helvetica
  2. Helvetica-Oblique
  3. Helvetica-Bold
  4. Helvetica-BoldOblique
- Helvetica-Narrow
  1. Helvetica-Narrow
  2. Helvetica-Narrow-Oblique
  3. Helvetica-Narrow-Bold
  4. Helvetica-Narrow-BoldOblique
- Times
  1. Times-Roman
  2. Times-Italic
  3. Times-Bold
  4. Times-BoldItalic
- AvantGarde
  1. AvantGarde-Book
  2. AvantGarde-BookOblique
  3. AvantGarde-Demi
  4. AvantGarde-DemiOblique
- Bookman
  1. Bookman-Light
  2. Bookman-LightItalic
  3. Bookman-Demi
  4. Bookman-DemiItalic
- Courier
  1. Courier
  2. Courier-Oblique
  3. Courier-Bold
  4. Courier-BoldOblique
- NewCenturySchlbk
  1. NewCenturySchlbk-Roman
  2. NewCenturySchlbk-Italic
  3. NewCenturySchlbk-Bold
  4. NewCenturySchlbk-BoldItalic
- Palatino
  1. Palatino-Roman
  2. Palatino-Italic
  3. Palatino-Bold
  4. Palatino-BoldItalic
- ZapfChancery-MediumItalic
- ZapfDingbats
- Symbol

All Postscript fonts except the ZapfDingbats and Symbol fonts use the ISO-Latin-1 encoding. The encodings used by the ZapfDingbats and Symbol fonts are documented in the Postscript Language Reference Manual. By convention, each Postscript typeface contains the Symbol font as font #0.

The 45 PCL 5 fonts are divided into typefaces as follows.

- Univers
  1. Univers
  2. Univers-Oblique
  3. Univers-Bold
  4. Univers-BoldOblique
- UniversCondensed
  1. UniversCondensed
  2. UniversCondensed-Oblique
  3. UniversCondensed-Bold
  4. UniversCondensed-BoldOblique
- CGTimes
  1. CGTimes-Roman
  2. CGTimes-Italic
  3. CGTimes-Bold
  4. CGTimes-BoldItalic
- Albertus
  1. AlbertusMedium
  2. AlbertusMedium
  3. AlbertusExtraBold
  4. AlbertusExtraBold
- AntiqueOlive
  1. AntiqueOlive
  2. AntiqueOlive-Italic
  3. AntiqueOlive-Bold
- Arial
  1. Arial-Roman
  2. Arial-Italic
  3. Arial-Bold
  4. Arial-BoldItalic
- ClarendonCondensed
- Coronet
- Courier
  1. Courier
  2. Courier-Italic
  3. Courier-Bold
  4. Courier-BoldItalic
- Garamond
  1. Garamond
  2. Garamond-Italic
  3. Garamond-Bold
  4. Garamond-BoldItalic
- LetterGothic
  1. LetterGothic-Roman
  2. LetterGothic-Italic
  3. LetterGothic-Bold
  4. LetterGothic-BoldItalic
- Marigold
- CGOmega
  1. CGOmega-Roman
  2. CGOmega-Italic
  3. CGOmega-Bold
  4. CGOmega-BoldItalic
- TimesNewRoman
  1. TimesNewRoman
  2. TimesNewRoman-Italic
  3. TimesNewRoman-Bold
  4. TimesNewRoman-BoldItalic
- Wingdings
- Symbol

All PCL 5 fonts except the Wingdings and Symbol fonts use the ISO-Latin-1 encoding. The encoding used by the Symbol font is the symbol font encoding documented in the Postscript Language Reference Manual. By convention, each PCL typeface contains the Symbol font as font #0.

The 18 Hewlett--Packard vector fonts are divided into typefaces as follows.

- Arc
  1. Arc
  2. Arc-Oblique
  3. Arc-Bold
  4. Arc-BoldOblique
- Stick
  1. Stick
  2. Stick-Oblique
  3. Stick-Bold
  4. Stick-BoldOblique
- ArcANK
  1. ArcANK*
  2. ArcANK-Oblique*
  3. ArcANK-Bold*
  4. ArcANK-BoldOblique*
- StickANK
  1. StickANK*
  2. StickANK-Oblique*
  3. StickANK-Bold*
  4. StickANK-BoldOblique*
- ArcSymbol*
- StickSymbol*

The Hewlett--Packard vector fonts with an asterisk (the ANK and Symbol fonts) are only available when producing HP-GL output for the HP7550A graphics plotter and the HP758x, HP7595A and HP7596A drafting plotters. The ANK fonts are Japanese fonts (see section Cyrillic and Japanese fonts), and the Symbol fonts contain a few miscellaneous mathematical symbols. To ensure that these fonts are available, you must set the environment variable or driver parameter `HPGL_VERSION` to "1.5".

All Hewlett--Packard vector fonts except the ANK and Symbol fonts use the ISO-Latin-1 encoding. The Arc fonts are proportional (variable-width) fonts, and the Stick fonts are fixed-width fonts. If `HPGL_VERSION` is "1.5" then the Arc fonts will be kerned. But if `HPGL_VERSION` is "2" (the default), there will be no kerning. Apparently Hewlett--Packard dropped support for device-resident kerning tables when moving from HP-GL to modern HP-GL/2 and PCL 5. For information about Hewlett--Packard vector fonts and the way in which they are kerned (in pen plotters, at least), see the article by L. W. Hennessee et al. in the Nov. 1981 issue of the Hewlett--Packard Journal.

To what extent do the fonts supported by `libplot` contain ligatures? The Postscript fonts, the PCL 5 fonts, and the Hewlett--Packard vector fonts, at least as implemented in `libplot`, do not contain ligatures. However, six of the 22 Hershey fonts contain ligatures. The character combinations "fi", "ff", "fl", "ffi", and "ffl" are automatically drawn as ligatures in HersheySerif and HersheySerif-Italic. (Also in the two HersheyCyrillic fonts and HersheyEUC, since insofar as printable ASCII characters are concerned, they are identical [or almost identical] to HersheySerif.) In addition, "tz" and "ch" are ligatures in HersheyGothicGerman. The German double-s character `@ss{'}, which is called an `eszet', is not treated as a ligature in any font. To obtain an eszet, you must either request one with the escape sequence "\ss" (see section Text string format and escape sequences), or, if you have an 8-bit keyboard, type an eszet explicitly.

Go to the first, previous, next, last section, table of contents.