Convert TTX to PCF
Turn TTX fonts into PCF. Every character the font maps is drawn as one-bit pixels at 16 pixels per em unless font.pixel_size says otherwise and compiled into an X11 PCF font 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 for X11 from your TTX file.Every mapped character is drawn as one-bit pixels at 16 pixels per em.
What you get
A PCF font encoded as Unicode. It holds each character the font maps, with its glyph name and width. The font's names, weight, slant, ascent and descent are carried over at that size.
The XML is compiled back into a font first, then drawn into the bitmap font.
How the glyphs are drawn
The font's TrueType instructions hint the glyphs. For CFF outlines and for fonts without instructions, FreeType's autohinter does it. If the font has its own bitmaps at the chosen size, those are used.
Set Pixel size to draw at a different size. It accepts 6 to 72 and defaults to 16.
What it leaves behind
A PCF holds no outlines, kerning or layout features. The font looks right only at the size you chose.
Glyphs that no character maps to, such as ligatures and alternates, are left out. Characters past U+FFFF are also left out, because PCF cannot encode them.
To go the other way, use PCF to TTX.
TTX and PCF.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
PCF Font
Compiled bitmap fonts for X11.
- Extensions
- .pcf
- MIME type
- application
/x -font -pcf - Kind
- Fonts
In your code.The same TTX to PCF conversion through the API, for your app or your agent.
$ cv convert font.ttx font.pcf$ cv convert font.ttx font.pcfQuestions.What people ask about TTX to PCF.
16 pixels per em unless you set Pixel size. The range is 6 to 72.
No. It holds pixels, not outlines, so it looks right only at the size it was drawn at.
No. Glyphs that no character maps to are left out, ligatures and alternates among them.
No. The bitmap font holds no kerning or layout features.