TROFFTABLE(1)

NAME
trofftable - output a PostScript program that builds a font width table

SYNOPSIS
trofftable [ options []] [ shortname] [ longname []]

DESCRIPTION
trofftable writes a PostScript program on the standard output that builds a font width table or typesetter description file. The following options are understood:

[-t name]
Use name as the template for fonts not in the default set. Choose for proportionally spaced fonts and for fixed width fonts. Try (ZapfDingbats) if the font has a non-standard character set. The default is R(.)

    [-C file]
Copy
    file into each PostScript table program; file must contain legitimate PostScript.

    [-H hostdir]
Use hostdir as the host resident font directory. A file in hostdir that matches the name of the troff font is assumed to be a host resident font program and is included in the PostScript width table program. There is no default.

    [-L file]
Use file as the PostScript prologue.
    The default is

    [-S file]
Use file as the shell library file. Overrides the choice made with the [-T] option.

    [-T name]
Set the target device to
    name. Device name means
    is the shell library file. There is no default.

One of [-T] or [-S] is required. If both are given [-S] wins. Either [-H] or [-C] can be used to include a host resident font.

The shell library file defines a collection of functions used to build troff tables. The default set of tables is the list of names returned by the function. Changes to the default list can be made by updating the function.

Shortname is the name of the troff font and longname is the name of the PostScript font; longname can be omitted only if shortname is a default table name. PostScript table programs created by trofftable return data to the host computer using PostScript's operator. See hardcopy(1) if you don't have access to the printer's serial port.

EXAMPLES
Get the PostScript program that builds a width table for font R(:)
    trofftable -Tpost R >R.ps
If a font is not in the default set include the troff and PostScript font names:
    trofftable -TLatin1 GL Garamond-Light >GL.ps
A font must be available on the printer when the table is built. Use [-H] or [-C] to include host resident fonts.

WARNINGS
A width table will not build properly if the printer cannot access the PostScript font.

The [-TLatin1] option only works on PostScript printers that support the full ISO Latin-1 character set. The error message from older printers will likely indicate a missing array.

FILES

SEE ALSO
dpost(1), hardcopy(1), postio(1), troff(1), buildtables(1), font(5)