Convert TTX to AFM

Turn TTX 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 TTX files on the dialor turn it to pick what to do

Font metrics as plain text.Glyph widths, bounding boxes and kerning pairs, written as an AFM file.

  1. What you get

    An Adobe Font Metrics file of the font, as plain text. It lists each glyph's name, code, width and bounding box, followed by the kerning pairs.

    The conversion gives you one file.

  2. How it works

    The XML is compiled back into a font first, and the metrics are read from that font. The result reflects the font the TTX describes.

  3. What is not in it

    An AFM file holds no outlines. It goes beside a Type 1 font rather than replacing it, so you still need the font itself to draw any text.

    To see the other formats a TTX file converts to, look at every TTX conversion. For the other ways to get an AFM file, see every AFM conversion.

TTX and AFM.What each format is.

The formats

From · TTX

TTX Font XML

fontTools' XML dump of a font. Every table readable and editable as text.

Extensions
.ttx
MIME type
application/x-font-ttx
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 TTX to AFM conversion through the API, for your app or your agent.

terminal
$ cv convert font.ttx font.afm
$ cv convert font.ttx font.afm

Questions.What people ask about TTX to AFM.

01OF 04

Each glyph's name, code, width and bounding box, plus the kerning pairs. It is plain text.

No. It has no outlines, so it only works beside a Type 1 font and does not replace it.

The XML is compiled back into a font before the metrics are written. The TTX has to describe a font that can be built.

One file.

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