COHERENT manpages

This page displays the COHERENT manpage for fwtable [Build font-width table].

List of available manpages
Index


fwtable -- Command

Build font-width table
fwtable [ -ptv ] [ infile [ outfile ] ]

For the typesetting program troff to  use a font, it must know the width of
each character  in the font,  and it must  know how to tell  the printer to
select the font.  All of this information is built into a font-width table,
which troff reads when you run it.

COHERENT comes  with font-width tables for  a selected set of  fonts: for a
handful  of  scalable  fonts that  are  included  with standard  PostScript
cartridges, for a  few bit-mapped fonts, and for some  fonts that are built
into the Hewlett-Packard LaserJet III.  For a list of the font-width tables
that  are included  with COHERENT,  and for further  information on  how to
manage fonts, see the Lexicon entry for troff.

The command fwtable  can read a font, and build  a new font-width table for
it.  It reads the font information  from infile (or the standard input) and
writes a font-width table for the font to outfile (or the standard output).
It can understand fonts in the following formats:

-> PCL (Printer Control Language) bitmap fonts, which have the suffix .usp.

-> Fonts that are built into the Hewlett-Packard LaserJet III and IV, which
   have the suffix .tfm.

-> AFM (Adobe Font Metric) descriptions of PostScript fonts, which have the
   suffix .afm.

fwtable recognizes the following command-line options:

-p infile is an AFM (Adobe  Font Metric) description for a PostScript font.
   By  default, fwtable  assumes that  infile is a  a bit-mapped  soft font
   (that is, a font with the suffix .usp).

   Please  note that  if the  AFM font  you will  be using  is downloadable
   rather than built into a cartridge, you must also use the command PSfont
   to  ``cook'' that  font's .pfb  file into  downloadable form.   For more
   information, see the Lexicon entry PSfont.

-t infile is  a Hewlett-Packard .tfm  file, which describes a  font that is
   built into  the Hewlett-Packard LaserJet  III, rather than  a bit-mapped
   soft font.

-v Print a brief font description to the standard error file.

Files

/usr/lib/roff/troff_pcl/fwt/ -- Directory for PCL font-width tables
/usr/lib/roff/troff_ps/fwt/ -- Directory for PostScript font-width tables

See Also

commands,
hpr,
PSfont,
troff

Notes

fwtable does not understand Intellifont scalable fonts, or TrueType fonts.