Convert TTX to PNG

Turn TTX fonts into PNG. The XML is compiled back into a font, then drawn at 48 points, black on white: up to three lines in the scripts it covers, each a pangram or else its first characters in Latin, Hangul, kana, Han, Cyrillic or Greek, then the alphabet and digits when it has them, or else the first characters it maps.

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 specimen of your font as a PNG.The TTX is compiled to a font and drawn as sample text.

  1. What you get

    One PNG that shows what the font looks like. The XML is compiled back into a font, then drawn at 48 points, black on white.

    The image holds up to three lines of text. In the scripts the font covers, each line is a pangram or else the first characters in Latin, Hangul, kana, Han, Cyrillic or Greek. After those come the alphabet and digits when the font has them. If it does not, you get the first characters it maps.

  2. What it shows

    A variable font is shown at its default instance. Other instances and axis settings are not drawn.

    The PNG is a picture of the font, not the font itself. The tables in the XML are not carried over, and the result cannot be installed or edited. To keep working on the font, keep the TTX file.

  3. After the conversion

    The result is a single file. To change its dimensions, use resize PNG. Other options for the format are listed under every PNG conversion.

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

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert font.ttx font.png
$ cv convert font.ttx font.png

Questions.What people ask about TTX to PNG.

01OF 04

The text is drawn at 48 points, black on white.

No. It draws up to three lines: sample text for the scripts the font covers, then the alphabet and digits when it has them, or else the first characters it maps.

It is shown at its default instance.

No. The PNG is only an image of the font drawn as sample text. Keep the TTX file if you need the font data.

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