Convert TTF to AFM

Turn TTF fonts into AFM. The Adobe Font Metrics of the font as plain text: each glyph's name, code, width and bounding box, and the kerning pairs.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TTF files on the dialor turn it to pick what to do

Font metrics as plain text.Widths, bounding boxes and kerning pairs for each glyph in the font.

  1. What you get

    An AFM file with the Adobe Font Metrics of the font as plain text. For each glyph it lists the name, the code, the width and the bounding box. The kerning pairs are listed as well.

  2. What it leaves behind

    The outlines. An AFM file holds no glyph shapes, so it goes beside a Type 1 font rather than replacing it. If you need the font itself, the AFM file cannot stand in for the TTF.

  3. Variable fonts and glyph choice

    A variable font needs Axes to pick one instance. Set Axes to one value for each axis, such as weight or width, and the metrics come from that single style.

    To keep fewer glyphs, set Characters to the characters you need. Set Unicode ranges to keep the glyphs in ranges such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables. Only the glyphs you pick are listed.

    See every TTF conversion or every AFM conversion for other routes.

TTF and AFM.What each format is, and the options this conversion takes.

  1. 01 · font.axes

    Axes

    Fixes the axes of a variable font, such as weight or width, at one value each, which makes a single static style that every program can use.

  2. 02 · font.characters

    Characters

    Keeps only the glyphs for these characters, which can make a font much smaller for a page that uses a few of them.

  3. 03 · font.unicodes

    Unicode ranges

    Keeps only the glyphs in these Unicode ranges, such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables.

The formats

From · TTF

TrueType Font

TrueType fonts, the format of most system fonts.

Extensions
.ttf
MIME type
font/ttf
Kind
Fonts
To · AFM

Adobe Font Metrics

Adobe Font Metrics, the plain text widths, kerning and bounding boxes that come with Type 1 fonts.

Extensions
.afm
MIME type
application/x-font-afm
Kind
Fonts

In your code.The same TTF to AFM conversion through the API, for your app or your agent.

terminal
$ cv convert font.ttf font.afm
$ cv convert font.ttf font.afm

Questions.What people ask about TTF to AFM.

01OF 04

No. It holds no outlines, only the glyph names, codes, widths, bounding boxes and kerning pairs. It goes beside a Type 1 font rather than replacing it.

Yes. Set Axes to fix each axis, such as weight or width, at one value, so one instance is chosen.

Yes. Set Characters to the characters you want, or Unicode ranges to ranges such as U+0020-007E. Only those glyphs are kept.

Yes. The kerning pairs are listed in the AFM file along with each glyph's name, code, width and bounding box.

More conversions.Other ways in and out of TTF and AFM.