2 Copyright (C) 1989-2000, 2001, 2002, 2009
3 Free Software Foundation, Inc.
5 Permission is granted to make and distribute verbatim copies of
6 this manual provided the copyright notice and this permission notice
7 are preserved on all copies.
9 Permission is granted to copy and distribute modified versions of this
10 manual under the conditions for verbatim copying, provided that the
11 entire resulting derived work is distributed under the terms of a
12 permission notice identical to this one.
14 Permission is granted to copy and distribute translations of this
15 manual into another language, under the above conditions for modified
16 versions, except that this permission notice may be included in
17 translations approved by the Free Software Foundation instead of in
20 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
22 .\" Like TP, but if specified indent is more than half
23 .\" the current line-length - indent, use the default indent.
25 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
28 .TH TFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
30 tfmtodit \- create font files for use with groff \-Tdvi
35 .in +\w'\fBtfmtodit 'u
39 .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
40 .el .RB "[\ " "\\$1" "\ ]"
51 It is possible to have whitespace between a command line option and its
55 creates a font file for use with
59 is the name of the \*(tx font metric file for the font.
61 is a file giving the groff names for characters in the font;
62 this file should consist of a sequence of lines of the form:
69 is a decimal integer giving the position of the character in the font,
73 are the groff names of the character.
74 If a character has no groff names but exists in the tfm file,
75 then it will be put in the groff font file as an unnamed character.
77 is the name of the groff font file.
78 The groff font file is written to
83 option should be given if the font is special
88 should search it whenever
89 a character is not found in the current font.)
90 If the font is special,
91 it should be listed in the
93 command in the DESC file;
94 if it is not special, there is no need to list it, since
96 can automatically mount it when it's first used.
98 To do a good job of math typesetting, groff requires
99 font metric information not present in the tfm file.
100 The reason for this is that \*(tx has separate math italic fonts
101 whereas groff uses normal italic fonts for math.
102 The additional information required by groff is given by the
105 macro in the Metafont programs for the Computer Modern fonts.
106 In a text font (a font for which
108 is false), Metafont normally ignores these two arguments.
109 Metafont can be made to put this information in the gf file
110 by loading the following definition after
117 def ignore_math_fit(expr left_adjustment,right_adjustment) =
118 special "adjustment";
119 numspecial left_adjustment*16/designsize;
120 numspecial right_adjustment*16/designsize;
125 For the EC font family, load the following definition after
127 (it is probably easiest to patch
133 def ignore_math_fit(expr left_adjustment,right_adjustment) =
134 ori_special "adjustment";
135 ori_numspecial left_adjustment*16/designsize;
136 ori_numspecial right_adjustment*16/designsize;
141 The gf file created using this modified
145 should be specified with the
150 option should not be given for a font for which
156 Print the version number.
160 The effect of this option is to add the
162 command to the font file.
165 The skewchar of this font is at position
168 should be an integer;
169 it may be given in decimal,
176 The effect of this option is to ignore any kerns whose second component
177 is the specified character.
181 is a gf file produced by Metafont containing special and numspecial
182 commands giving additional font metric information.
184 .Tp \w'\fB@FONTDIR@/devdvi/DESC'u+2n
185 .B @FONTDIR@/devdvi/DESC
186 Device description file.
188 .BI @FONTDIR@/devdvi/ F
189 Font description file for font
192 .BR groff (@MAN1EXT@),
193 .BR grodvi (@MAN1EXT@),
194 .BR groff_font (@MAN5EXT@)