1 .TH tfmtodit @MAN1EXT@ "@MDATE@" "groff @VERSION@"
3 tfmtodit \- adapt TeX Font Metrics files for use with
9 .\" ====================================================================
11 .\" ====================================================================
13 .\" Copyright (C) 1989-2020 Free Software Foundation, Inc.
15 .\" Permission is granted to make and distribute verbatim copies of this
16 .\" manual provided the copyright notice and this permission notice are
17 .\" preserved on all copies.
19 .\" Permission is granted to copy and distribute modified versions of
20 .\" this manual under the conditions for verbatim copying, provided that
21 .\" the entire resulting derived work is distributed under the terms of
22 .\" a permission notice identical to this one.
24 .\" Permission is granted to copy and distribute translations of this
25 .\" manual into another language, under the above conditions for
26 .\" modified versions, except that this permission notice may be
27 .\" included in translations approved by the Free Software Foundation
28 .\" instead of in the original English.
31 .\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
32 .do nr *groff_tfmtodit_1_man_C \n[.cp]
35 .\" Define fallback for groff 1.23's MR macro if the system lacks it.
37 .if !\n(.f .nr do-fallback 1 \" mandoc
38 .if \n(.g .if !d MR .nr do-fallback 1 \" older groff
39 .if !\n(.g .nr do-fallback 1 \" non-groff *roff
40 .if \n[do-fallback] \{\
45 . IR \%\\$1 (\\$2)\\$3
51 .\" ====================================================================
53 .\" ====================================================================
55 .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
59 .\" ====================================================================
61 .\" ====================================================================
88 .\" ====================================================================
90 .\" ====================================================================
93 creates a font description file for use with
94 .MR groff @MAN1EXT@ 's
99 is the name of the \*(tx font metric file for the font.
104 ordinary or special character identifiers to glyph indices in the font;
105 it should consist of a sequence of lines of the form
108 .IR "i c1" \~\&.\|.\|.\&\~ cn
113 is a position of the glyph in the font in decimal,
118 are glyph identifiers in the form used by
128 font description file as an unnamed glyph.
131 .MR groff_font @MAN5EXT@
134 a file named for the intended
140 If the font is \[lq]special\[rq],
143 should search it whenever a glyph is not found in the current font,
150 directive in the output device's
156 To do a good job of math typesetting,
158 requires font metric information not present in
161 This is because \*(tx has separate math italic fonts,
164 uses normal italic fonts for math.
166 The additional information required by
168 is given by the two arguments to the
170 macro in the Metafont programs for the Computer Modern fonts.
172 In a text font (a font for which
175 Metafont normally ignores these two arguments.
177 Metafont can be made to put this information into the GF
178 (\[lq]generic font\[rq])
179 files it produces by loading the following definition after
186 def ignore_math_fit(expr left_adjustment,right_adjustment) =
187 special "adjustment";
188 numspecial left_adjustment*16/designsize;
189 numspecial right_adjustment*16/designsize;
194 For the EC font family,
195 load the following definition after
203 def ignore_math_fit(expr left_adjustment,right_adjustment) =
204 ori_special "adjustment";
205 ori_numspecial left_adjustment*16/designsize;
206 ori_numspecial right_adjustment*16/designsize;
211 The only difference from the previous example is the \[lq]ori_\[rq]
212 prefix to \[lq]special\[rq] and \[lq]numspecial\[rq].
214 The GF file created using this modified
218 should be specified with the
223 be given for a font for which
228 .\" ====================================================================
230 .\" ====================================================================
233 displays a usage message,
238 show version information;
246 produced by Metafont containing
247 .RB \[lq] special \[rq]
249 .RB \[lq] numspecial \[rq]
250 commands to obtain additional font metric information.
255 The skew character of this font is at position
259 should be an integer;
260 it may be given in decimal,
261 with a leading 0 in octal,
262 or with a leading 0x in hexadecimal.
264 Any kerns whose second component is
273 directive to the font description file.
276 .\" ====================================================================
278 .\" ====================================================================
281 .I @FONTDIR@/\:\%devdvi/\:DESC
288 .IR @FONTDIR@/\:\%devdvi/ F
289 describes the font known
296 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%ec.map
298 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%msam.map
300 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%msbm.map
302 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%tc.map
304 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texb.map
306 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texex.map
308 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texi.map
310 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texitt.map
312 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texmi.map
314 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texr.map
316 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%texsy.map
318 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%textex.map
320 .I @FONTDIR@/\:\%devdvi/\:\%generate/\:\%textt.map
321 map glyph indices in \*[tx] fonts to
323 ordinary and special character identifiers.
394 .\" ====================================================================
396 .\" ====================================================================
398 .MR groff @MAN1EXT@ ,
399 .MR grodvi @MAN1EXT@ ,
400 .MR groff_font @MAN5EXT@
406 .\" Restore compatibility mode (for, e.g., Solaris 10/11).
407 .cp \n[*groff_tfmtodit_1_man_C]
408 .do rr *groff_tfmtodit_1_man_C
415 .\" vim: set filetype=groff textwidth=72: