1 .TH MFTRACE 1 "January 23, 2007"
2 .\" Copyright (c) 1999--2007 by the authors
4 .\" Permission is granted to copy, distribute and/or modify this document
5 .\" under the terms of the GNU General Public License.
7 .\" You should have received a copy of the GNU General Public License
8 .\" along with this program; if not, write to the Free Software
10 .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
13 .hw mftrace autotrace potrace fontforge pfaedit ghostscript kpsewhich
17 mftrace \- convert METAFONT format fonts into Type1 outline fonts
22 .RI [ options ] " fontname"
27 is a program that can convert a METAFONT font into a Type1 font.
28 It is simply called with the name of the font (without a `.mf' suffix)
29 and produces a Type1 font file called either
33 depending on the command line options.
36 it can produce other font formats too.
39 For tracing the bitmap,
45 (the former preferred) if available; this can be overridden with the
53 This program follows the usual GNU command line syntax, with long
54 options starting with two dashes (`-').
58 Keep all output in directory `mftrace.dir'.
61 .BI \-\-magnification= MAG
62 The magnification to use for the PFA file.
64 The larger the magnification, the more precise the PFA file will be.
65 However, if the magnification is too large METAFONT can crash
69 Sadly, many MF fonts contain resolution checks
73 if dots_per_inch * design_size > 1500:
77 This check is susceptible to overflow errors.
78 Such code should be reported as a bug, and changed to
82 if dots_per_inch > (1500 / design_size):
86 .BI \-\-formats= FMT1 , FMT2 , .\|.\|.
87 Specify which formats to generate (default is pfa).
88 Choices are: `afm', `pfa', `pfb', `ttf', `svg'.
93 must be installed to generate any format except `pfa' or `pfb'.
94 For generating `afm' you need either
101 This passes the created Type1 font to
105 to simplify and autohint it.
109 Use generic font file
111 instead of running Metafont.
112 (GF is the default output format of Metafont.)
115 .BR \-I " " \fIDIR\fP ", " \-\-include= \fIDIR\fP
118 to the current path for searching files.
122 Process only these glyphs.
124 is a comma separated list of decimal numbers or ranges, for example
128 .BI \-\-tfmfile= FILE
132 (The default is to use
133 .IR \%fontname .tfm).
136 .BR \-e " " \fIENC\fP ", " \-\-encoding=\fIENC\fP
139 Encoding files used by
141 are basically in the GhostScript/dvips format, but you may use a
144 glyph name in order to tell mftrace not to process a specific glyph.
145 If this option is not specified,
147 tries to determine the encoding file automatically, from the
148 encoding specified in the TFM file, the default being `tex256.enc'.
152 Try to continue if external programs called by mftrace fail.
153 If METAFONT crashes with overflow errors, but nevertheless outputs
154 a GF file, try to process its output as is (useful for some buggy
160 fail to trace a specific character, first try it with a less
161 smoothed curve, and if that fails, skip the character.
164 leaves a file \%`trace-bug-\fIfont\fP-\fIchar\fP.pbm' and stops the
165 process with a request to file a bugreport.
169 Try to use MikTeX's version of
177 The default is to use
179 if it is found, otherwise to use
190 Don't read the AFM file to find font information.
194 Do not round coordinates of control points to integer values (use with
200 Set reciprocal grid size in em units multiplied by ratio
203 .RB ` "\-\-grid\ 10 \%\-\-magnification\ 1000" '
204 rounds coordinates of control points to 1/10th of the em unit.
205 Useful simultaneously with the
210 value is\~1, i.e., round to integer.
211 This option is only used with
215 .BI \-D,\-\-define= SYMBOL=VALUE
221 .B \%\-DFamilyName=Foo
222 sets the font family name to
225 tries to fill in sensible default values for the
226 \%`FontName', \%`FamilyName', \%`FullName' and `Weight' fields.
234 Show summary of options.
238 Show version of program.
242 Show warranty and copyright.
246 You may redistribute copies of mftrace under the terms of
247 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
248 There is NO WARRANTY, to the extent permitted by law.
250 This manual page is copyright \(co 2005,2006,2007 Julian Gilbey and is
251 distributed under the GNU General Public License too.
263 was written by Han-Wen Nienhuys <hanwen@xs4all.nl>.
264 This manual page was originally written by Julian Gilbey <jdg@debian.org>
265 and has been revised by Werner Lemberg <wl@gnu.org>.