Mmafm creates AFM font metrics for PostScript multiple master fonts by
interpolation. You pass it an AMFM file (multiple master font metrics) and
options specifying the design point you want, and it writes the resulting
AFM file to the standard output.
font argument is either the filename of an AFM or AMFM font metrics file, or a
PostScript font name. If you give a font name,
mmafm will look up the actual font metrics file using the PSRESOURCEPATH
environment variable. This colon-separated path is searched for PSres.upr
files, an Adobe method for indexing PostScript resources.
You can also give the name of a multiple master font instance, like
Mmafm will parse the font name and create that instance for you. PSres.upr
files must be set up for this to work.
Any multiple master font should be distributed with a single AMFM file and
several AFM files (one for each master). For Myriad, for example, the AMFM
file is MyriadMM.amfm and the AFM files are MyriadMM-LightCn.afm,
MyriadMM-LightSemiEx.afm, MyriadMM-BlackCn.afm, and
Mmafm needs to find all these files to function. For fonts in the Adobe type
library, you can download the necessary files from
<http://www.lcdf.org/type>; look for the mm-metrics package.
You must always supply the AMFM file (or its font name) on the command
mmafm will look for any required AFM files you dont supply yourself. It tries
the PSRESOURCEPATH environment variable, and also looks for files named
FontName.afm or FontName.AFM in the directory that
contained the AMFM file. (The Myriad filenames given above fit this
Mmafm supports fonts with intermediate masters, like Adobe Jenson and Kepler. If
your PSRESOURCEPATH environment variable is set up, it will handle these
fonts automatically. Otherwise, you must first run
mmpfb --amcp-info on the font outline files to create auxiliary AMCP files for these fonts.
Each AMCP file should be in the same directory as its corresponding AMFM
file and should have the same root filename, but with a .amcp extension
instead of .amfm. See
for more information.
Some programs, such as TeXs
fontinst, can choke on AFM files that include fractional numbers. Therefore, if you
have trouble with an AFM file, try rerunning
mmafm with the