## Printer Device Driver

[prev][next][parent][TOC]

### Built-In Fonts

Currently, 69 fonts are built into the driver. When a "compiler" is built, it extracts information from the Adobe Font Metrics (AFM) file and creates a .PFM file. The following are stored in each .PFM:

Character code points
Character widths
Kerning pairs
General font information
Font metrics

The font compiler (afm2bin) pre-processes the font metrics so that it does not have to be generated each time the driver is asked for FontMetrics. For an example, see prda_DeviceQueryFonts in FONTS.C.