hpftodit
creates a font file for use with
groff -Tlj4
from an HP tagged font metric file.
tfm_file
is the name of the tagged font metric file for the font.
map_file
is a file giving the groff names for characters in the font;
this file should consist of a sequence of lines of the form:
-
n c1 c2 ...
where
n
is a decimal integer giving the MSL number of the character,
and
c1,
c2,...
are the groff names of the character.
font
is the name of the groff font file.
The groff font file is written to
font.
The
-s
option should be given if the font is special
(a font is
special
if
troff
should search it whenever
a character is not found in the current font.)
If the font is special,
it should be listed in the
fonts
command in the DESC file;
if it is not special, there is no need to list it, since
troff
can automatically mount it when it's first used.
If the
-i
option is used,
hpftodit
will automatically generate an italic correction,
a left italic correction and a subscript correction
for each character
(the significance of these parameters is explained in
groff_font(5)).