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.
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.
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.
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
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
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.
$ cv convert font.ttx font.afm$ cv convert font.ttx font.afmQuestions.What people ask about TTX to AFM.
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.