Convert BDF to TTX

Turn BDF fonts into TTX. Every glyph's pixels become square TrueType outlines at 128 units per pixel, so the font scales as crisp blocks, with its names, widths, ascent and descent, and every table of that font is written as editable XML.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A bitmap font as editable XML.Each pixel becomes a square outline, and every table is readable text.

  1. What you get

    One TTX file, the XML dump of the font. Every table of the font is written as text, so you can read and edit it in any text editor.

    Each glyph's pixels become square TrueType outlines at 128 units per pixel. The font scales as crisp blocks at any size. Its names, widths, ascent and descent carry over.

  2. What it leaves behind

    The bitmap itself is not embedded. The font is rebuilt from outlines, so the original pixel data is not stored alongside them.

    Glyphs in encodings other than Unicode, ISO 8859, KOI8 and Windows code pages keep no character codes. They stay in the font as glyphs, but without codes that map characters to them.

  3. Going back

    To turn a TTX file into a bitmap font again, use TTX to BDF. For other conversions from this format, see every BDF conversion.

BDF and TTX.What each format is.

The formats

From · BDF

BDF Font

Bitmap fonts in the X11 text format.

Extensions
.bdf
MIME type
application/x-font-bdf
Kind
Fonts
To · 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

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

terminal
$ cv convert font.bdf font.ttx
$ cv convert font.bdf font.ttx

Questions.What people ask about BDF to TTX.

01OF 04

Yes. TTX writes every table of the font as XML text, so each one is readable and editable.

Each pixel becomes a square that is 128 units wide and 128 units tall. The glyphs scale as crisp blocks.

Yes. The names, widths, ascent and descent carry over into the TTX file.

Not always. Glyphs in encodings other than Unicode, ISO 8859, KOI8 and Windows code pages keep no character codes.

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