mf2pt1: Usage
2 Usage
*******
'mf2pt1' is fairly straightforward to use. To process a Metafont source
file, merely specify the filename:
mf2pt1 myfont.mf
That simple command automatically performs all of the following
operations:
1. Read 'myfont.mf'.
2. Use 'mpost' to convert each character to a separate Encapsulated
PostScript (EPS) file named 'myfont.NUM'.
3. Process and merge the EPS files into a single "disassembled" Type 1
font called 'myfont.pt1'.
4. Run 't1asm' from the Type 1 Utilities to convert the disassembled
font into a true, binary Type 1 font called 'myfont.pfb'.
5. Invoke 'fontforge' to apply rendering hints to 'myfont.pfb' and to
attempt to remove overlapping paths.
The external programs launched by 'mf2pt1'--'mpost', 't1asm', and
'fontforge'--can be overridden by setting the eponymous, uppercase
environment variable. For example, invoking FontForge's predecessor,
PfaEdit, instead of FontForge is simply a matter of setting the
'FONTFORGE' environment variable to 'pfaedit' before invoking 'mf2pt1'.
As a corollary, you can inhibit an 'mf2pt1' external program from
running by setting the corresponding environment variable to the name of
a nonexistent program.
Menu