Convert TTF to BDF
Turn TTF 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 TTF files on the dialor turn it to pick what to do
A bitmap font built from a TrueType font.Every mapped character is drawn as one-bit pixels at one size.
What you get
A BDF font with one glyph for every character the TTF maps. Each glyph is drawn in one-bit pixels at 16 pixels per em, encoded as Unicode, and keeps its glyph name and width.
The font's names, weight, slant, ascent and descent are written for that size. If the TTF has its own bitmaps of that size, those are used.
How glyphs are drawn
The font's TrueType instructions hint the glyphs. For fonts with CFF outlines and fonts without instructions, FreeType's autohinter does it.
Set Pixel size to draw at another size. It accepts 6 to 72 and defaults to 16.
What it leaves behind
A BDF font holds no outlines, kerning or layout features. It looks right only at the size it was made for.
Glyphs that no character maps to, such as ligatures and alternates, are left out.
Variable fonts and subsets
A variable font needs Axes to pick one instance, with one value for each axis you fix.
Set Characters to keep only the glyphs for those characters. Set Unicode ranges to keep the glyphs in ranges such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables.
TTF and BDF.What each format is, and the options this conversion takes.
- 01 · font.axes
Axes
Fixes the axes of a variable font, such as weight or width, at one value each, which makes a single static style that every program can use.
- 02 · font.characters
Characters
Keeps only the glyphs for these characters, which can make a font much smaller for a page that uses a few of them.
- 03 · 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 - 04 · font.unicodes
Unicode ranges
Keeps only the glyphs in these Unicode ranges, such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables.
The formats
TrueType Font
TrueType fonts, the format of most system fonts.
- Extensions
- .ttf
- MIME type
- font
/ttf - 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 TTF to BDF conversion through the API, for your app or your agent.
$ cv convert font.ttf font.bdf$ cv convert font.ttf font.bdfQuestions.What people ask about TTF to BDF.
16 pixels per em by default. Set Pixel size to a value from 6 to 72 to change it.
No. The BDF holds pixels, not outlines, so it looks right only at the size it was drawn for.
No. Kerning and layout features are not kept. Glyphs that no character maps to, such as ligatures and alternates, are left out.
Yes. Set Axes to fix each axis at one value, which picks a single instance. To go the other way, see BDF to TTF.