Convert TTX to BDF
Turn TTX fonts into BDF. Every character the font maps is drawn as one-bit pixels at 16 pixels per em unless font.pixel_size says otherwise and encoded as Unicode, with its glyph name and width and the font's names, weight, slant, ascent and descent at that size.
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 bitmap font from your TTX file.Each mapped character is drawn as pixels at one size, 16 pixels per em by default.
What you get
A BDF font in one file. Every character the font maps is drawn as one-bit pixels and encoded as Unicode. Each glyph keeps its glyph name and width.
The font's names, weight, slant, ascent and descent are carried over at that size.
How the glyphs are drawn
The XML is compiled back into a font first. The font's TrueType instructions hint the glyphs. For CFF outlines and fonts without instructions, FreeType's autohinter does it. If the font has its own bitmaps of the chosen size, those are used.
Set Pixel size to draw at another size, from 6 to 72. The default is 16.
What it leaves behind
A BDF font holds no outlines, kerning or layout features. It looks right only at the size it was drawn at.
Glyphs that no character maps to, such as ligatures and alternates, are left out.
To go the other way, see BDF to TTX.
TTX and BDF.What each format is, and the options this conversion takes.
- 01 · font.pixel_size
Pixel size
The size in pixels at which an outline font is drawn into a bitmap font.
6 to 72 default 16
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
BDF Font
Bitmap fonts in the X11 text format.
- Extensions
- .bdf
- MIME type
- application
/x -font -bdf - Kind
- Fonts
In your code.The same TTX to BDF conversion through the API, for your app or your agent.
$ cv convert font.ttx font.bdf$ cv convert font.ttx font.bdfQuestions.What people ask about TTX to BDF.
Yes. Set Pixel size to a value from 6 to 72. Without it, the font is drawn at 16 pixels per em.
No. The BDF holds no outlines, kerning or layout features.
Glyphs that no character maps to are left out. Ligatures and alternates are typical examples.
Yes, when the font has bitmaps of the chosen size. Otherwise the glyphs are drawn from the outlines and hinted.