.\" $Header: tfm2difont.l.backup,v 1.1 88/01/15 12:58:48 simpson Rel $
.\" $Log: tfm2difont.l.backup,v $
.\" Revision 1.1 88/01/15 12:58:48 simpson
.\" initial release
.\"
.\" Revision 0.1 87/12/11 17:57:02 simpson
.\" beta test
.\"
.if t .ds TX T\h'-.1667m'\v'.22m'E\h'-.125m'\v'-.22m'X
.if n .ds TX TeX
.TH TFM2DIFONT 1 TRW
.UC
.SH NAME
tfm2difont \- convert tfm files to ditroff compatible width tables
.SH ORIGIN
TRW
.SH SYNOPSIS
tfm2difont
.B [ -s ]
.B [ -w
.I width
.B ]
.B [ -l
.I ligature
.B ]
\&...
file...
.SH DESCRIPTION
.IR Tfm2difont (1)
converts tfm files to ditroff compatible width tables which can subsequently
be run through
.I makedev
and used with ditroff.
A file is created with the same name as the tfm file with the `.tfm' extension
removed.
The `name' and `internalname' are set to the same name as the font.
.PP
The
.B -s
flag causes the font(s) to be considered special.
The
.B -w
flag allows you to set
.I spacewidth.
Normally, a non-special font is assumed to have the ligatures
.BR ff ,
.BR fi ,
.BR fl ,
.B ffi
and
.BR ffl .
The
.B -l
flag causes a named ligature to be removed.
Any number of
.B -l
flags may be given.
Ligatures are ignored if the font is special since special fonts don't have
ligatures.
Because the `a' character is used for kerning information in non-special
fonts, it must exist in a non-special font.
.PP
The created width table contains the size of the characters at 10 points
.RI ( unitwidth
in the DESC file).
.IR Troff (1)
scales the width of characters depending on the size currently in use.
So, if a 5 point font is being used, the width is halved.
Because of this, you cannot create a separate font with reshaped characters
for five points with
METAFONT.
\*(TX allows you to do this though.
.SH FILES
.ta \w'--FONTDIR-- '
--FONTDIR-- device-independent troff font directory
.SH AUTHOR
Scott Simpson
.SH SEE ALSO
mf(1), tex(1), font(5)