2 Copyright (C) 1989-2000, 2001, 2002 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
19 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
21 .\" Like TP, but if specified indent is more than half
22 .\" the current line-length - indent, use the default indent.
24 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
27 .TH TFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
29 tfmtodit \- create font files for use with groff \-Tdvi
34 .in +\w'\fBtfmtodit 'u
38 .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
39 .el .RB "[\ " "\\$1" "\ ]"
50 It is possible to have whitespace between a command line option and its
54 creates a font file for use with
58 is the name of the \*(tx font metric file for the font.
60 is a file giving the groff names for characters in the font;
61 this file should consist of a sequence of lines of the form:
68 is a decimal integer giving the position of the character in the font,
72 are the groff names of the character.
73 If a character has no groff names but exists in the tfm file,
74 then it will be put in the groff font file as an unnamed character.
76 is the name of the groff font file.
77 The groff font file is written to
82 option should be given if the font is special
87 should search it whenever
88 a character is not found in the current font.)
89 If the font is special,
90 it should be listed in the
92 command in the DESC file;
93 if it is not special, there is no need to list it, since
95 can automatically mount it when it's first used.
97 To do a good job of math typesetting, groff requires
98 font metric information not present in the tfm file.
99 The reason for this is that \*(tx has separate math italic fonts
100 whereas groff uses normal italic fonts for math.
101 The additional information required by groff is given by the
104 macro in the Metafont programs for the Computer Modern fonts.
105 In a text font (a font for which
107 is false), Metafont normally ignores these two arguments.
108 Metafont can be made to put this information in the gf file
109 by loading the following definition after
116 def ignore_math_fit(expr left_adjustment,right_adjustment) =
117 special "adjustment";
118 numspecial left_adjustment*16/designsize;
119 numspecial right_adjustment*16/designsize;
124 For the EC font family, load the following definition after
126 (it is probably easiest to patch
132 def ignore_math_fit(expr left_adjustment,right_adjustment) =
133 ori_special "adjustment";
134 ori_numspecial left_adjustment*16/designsize;
135 ori_numspecial right_adjustment*16/designsize;
140 The gf file created using this modified
144 should be specified with the
149 option should not be given for a font for which
155 Print the version number.
159 The effect of this option is to add the
161 command to the font file.
164 The skewchar of this font is at position
167 should be an integer;
168 it may be given in decimal,
175 The effect of this option is to ignore any kerns whose second component
176 is the specified character.
180 is a gf file produced by Metafont containing special and numspecial
181 commands giving additional font metric information.
183 .Tp \w'\fB@FONTDIR@/devdvi/DESC'u+2n
184 .B @FONTDIR@/devdvi/DESC
185 Device description file.
187 .BI @FONTDIR@/devdvi/ F
188 Font description file for font
191 .BR groff (@MAN1EXT@),
192 .BR grodvi (@MAN1EXT@),
193 .BR groff_font (@MAN5EXT@)