This program is part of Netpbm.
picttoppm reads a PICT file (version 1 or 2) and outputs a PPM image.
This is useful as the first step in converting a scanned image to something that can be displayed on Unix.
Memory is used very liberally with at least 6 bytes needed for every pixel. Large bitmap PICT files will likely run your computer out of memory.
picttoppm has a built in default font and your local installer probably provided adequate extra fonts. You can point picttoppm at more fonts which you specify in a font directory file. Each line in the file is either a comment line which must begin with ``#'' or font information. The font information consists of 4 whitespace spearated fields. The first is the font number, the second is the font size in pixels, the third is the font style and the fourth is the name of a BDF file containing the font. The BDF format is defined by the X window system and is not described here.
The font number indicates the type face. Here is a list of known font numbers and their faces.
0 Chicago 1 application font 2 New York 3 Geneva 4 Monaco 5 Venice 6 London 7 Athens 8 San Franciso 9 Toronto 11 Cairo 12 Los Angeles 20 Times Roman 21 Helvetica 22 Courier 23 Symbol 24 Taliesin
The font style indicates a variation on the font. Multiple variations may apply to a font and the font style is the sum of the variation numbers which are:
1 Boldface 2 Italic 4 Underlined 8 Outlined 16 Shadow 32 Condensed 64 Extended
Obviously the font defintions are strongly related to the Macintosh. More font numbers and information about fonts can be found in Macintosh documentation.