Convert TTX to TTF

Turn TTX fonts into TTF. The XML compiled back into a font with glyph bounding boxes recalculated; CFF curves are approximated by TrueType ones, moving outlines by about a unit at most, without hints.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A TTF built from your TTX text.The XML is compiled into a TrueType font, with bounding boxes recalculated.

  1. What you get

    One TTF file, built from the tables in your TTX file. TTF is the format of most system fonts.

    The bounding box of every glyph is recalculated during the compile, so the values in the output come from the outlines and not from the XML.

  2. What changes

    If the font has CFF outlines, the curves are approximated by TrueType ones. Outlines move by about a unit at most.

    Hints are not carried over. The TTF has none.

  3. When it fails

    A TTX file that cannot be parsed stops with input_corrupted. The conversion produces no font in that case.

    To go the other way, use TTF to TTX. For other options, see every TTF conversion.

TTX and TTF.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 · TTF

TrueType Font

TrueType fonts, the format of most system fonts.

Extensions
.ttf
MIME type
font/ttf
Kind
Fonts

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

terminal
$ cv convert font.ttx font.ttf
$ cv convert font.ttx font.ttf

Questions.What people ask about TTX to TTF.

01OF 04

Yes. The bounding box of each glyph is recalculated when the XML is compiled.

No. They are approximated by TrueType curves. Outlines move by about a unit at most.

No. The TTF is made without hints.

The file could not be parsed. The conversion stops there and gives no TTF.

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