1 .TH TFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
3 tfmtodit \- create font files for use with groff \-Tdvi
6 .\" --------------------------------------------------------------------
8 .\" --------------------------------------------------------------------
11 Copyright \[co] 1989-2014 Free Software Foundation, Inc.
13 Permission is granted to make and distribute verbatim copies of
14 this manual provided the copyright notice and this permission notice
15 are preserved on all copies.
17 Permission is granted to copy and distribute modified versions of this
18 manual under the conditions for verbatim copying, provided that the
19 entire resulting derived work is distributed under the terms of a
20 permission notice identical to this one.
22 Permission is granted to copy and distribute translations of this
23 manual into another language, under the above conditions for modified
24 versions, except that this permission notice may be included in
25 translations approved by the Free Software Foundation instead of in
29 .\" --------------------------------------------------------------------
31 .\" --------------------------------------------------------------------
33 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
35 .\" Like TP, but if specified indent is more than half
36 .\" the current line-length - indent, use the default indent.
38 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
43 .\" --------------------------------------------------------------------
45 .\" --------------------------------------------------------------------
50 .in +\w'\fBtfmtodit 'u
54 .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
55 .el .RB "[\ " "\\$1" "\ ]"
67 .\" --------------------------------------------------------------------
69 .\" --------------------------------------------------------------------
72 creates a font file for use with
77 is the name of the \*(tx font metric file for the font.
80 is a file giving the groff names for characters in the font;
81 this file should consist of a sequence of lines of the form:
90 is a decimal integer giving the position of the character in the font,
94 are the groff names of the character.
96 If a character has no groff names but exists in the tfm file,
97 then it will be put in the groff font file as an unnamed character.
100 is the name of the groff font file.
102 The groff font file is written to
109 option should be given if the font is special
114 should search it whenever
115 a character is not found in the current font.)
117 If the font is special,
118 it should be listed in the
120 command in the DESC file;
121 if it is not special, there is no need to list it, since
123 can automatically mount it when it\[aq]s first used.
127 To do a good job of math typesetting, groff requires font metric
128 information not present in the tfm file.
130 The reason for this is that \*(tx has separate math italic fonts
131 whereas groff uses normal italic fonts for math.
133 The additional information required by groff is given by the two
136 macro in the Metafont programs for the Computer Modern fonts.
138 In a text font (a font for which
140 is false), Metafont normally ignores these two arguments.
142 Metafont can be made to put this information in the gf file by loading
143 the following definition after
150 def ignore_math_fit(expr left_adjustment,right_adjustment) =
151 special "adjustment";
152 numspecial left_adjustment*16/designsize;
153 numspecial right_adjustment*16/designsize;
158 For the EC font family, load the following definition after
160 (it is probably easiest to patch
166 def ignore_math_fit(expr left_adjustment,right_adjustment) =
167 ori_special "adjustment";
168 ori_numspecial left_adjustment*16/designsize;
169 ori_numspecial right_adjustment*16/designsize;
174 The gf file created using this modified
178 should be specified with the
184 option should not be given for a font for which
189 .\" --------------------------------------------------------------------
191 .\" --------------------------------------------------------------------
193 It is possible to have whitespace between a command line option and its
198 Print the version number.
204 The effect of this option is to add the
206 command to the font file.
210 The skewchar of this font is at position
214 should be an integer;
215 it may be given in decimal,
223 The effect of this option is to ignore any kerns whose second
224 component is the specified character.
229 is a gf file produced by Metafont containing special and numspecial
230 commands giving additional font metric information.
233 .\" --------------------------------------------------------------------
235 .\" --------------------------------------------------------------------
237 .Tp \w'\fB@FONTDIR@/devdvi/DESC'u+2n
238 .B @FONTDIR@/devdvi/DESC
239 Device description file.
242 .BI @FONTDIR@/devdvi/ F
243 Font description file for font
247 .\" --------------------------------------------------------------------
249 .\" --------------------------------------------------------------------
250 .BR groff (@MAN1EXT@),
251 .BR grodvi (@MAN1EXT@),
252 .BR groff_font (@MAN5EXT@)
255 .\" --------------------------------------------------------------------
257 .\" --------------------------------------------------------------------