OnWorks favicon

mmafm - Online in the Cloud

Run mmafm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mmafm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



mmafm - creates AFM font metrics for multiple master fonts


mmafm [OPTIONS...] font


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.

Each 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
`MinionMM_367_400_12_'. 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 MyriadMM-BlackSemiEx.afm. 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 line, but mmafm
will look for any required AFM files you don't 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 pattern.)

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 mmpfb(1) for more information.


% mmafm --weight=400 --width=600 MyriadMM.amfm > MyriadMM_400_600_.afm


Long options may be abbreviated to their unique prefixes.

--output=file, -o file
Send output to file instead of standard output.

--weight=N, -w N
Set the weight axis to N.

--width=N, -W N
Set the width axis to N.

--optical-size=N, -O N
Set the optical size axis to N.

Set the style axis to N.

--1=N (--2=N, --3=N, --4=N)
Set the first (second, third, fourth) axis to N.

--precision=N, -p N
Round output numbers so they have at most N digits after the decimal point. Smaller
numbers are less precise; `-p 0' rounds all numbers to integers. The default
precision is 3.

--min-kern=N, -k N
Only output kerning pairs whose absolute value is N or larger. Smaller minimum kerns
make kerning more precise and the output AFM file bigger. The default minimum kern is


Some programs, such as TeX's fontinst, can choke on AFM files that include fractional
numbers. Therefore, if you have trouble with an AFM file, try rerunning mmafm with the
--precision=0 option.

Use mmafm online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    Download garlic3
  • 4
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands

  • 1
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    Run abidiff
  • 2
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    cppo - lightweight cpp-like
    preprocessor for OCaml ...
    Run cppo
  • 4
    cppunit-config - script to get
    information about the installed version
    of cppunit ...
    Run cppunit-config
  • 5
    fwb_ipt - Policy compiler for Cisco IOS
    ACL ...
    Run fwb_iosacl
  • 6
    fwb_ipf - Policy compiler for ipfilter ...
    Run fwb_ipf
  • More »