Convert DFONT to BDF
Turn DFONT fonts into BDF files. 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 DFONT files on the dialor turn it to pick what to do
Bitmap fonts from Mac suitcases.Each font in the suitcase becomes a BDF file, drawn in pixels at one size.
What you get
Every TrueType or OpenType font in the suitcase becomes its own BDF file, numbered in order. Each character the font maps is drawn as one-bit pixels and encoded as Unicode.
Each glyph keeps its name and width. The file also carries the font's names, weight, slant, ascent and descent at that size.
How glyphs are drawn
The glyphs are drawn at 16 pixels per em unless you change it. Set Pixel size to a value from 6 to 72 to draw them larger or smaller.
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 at the chosen size, those are used.
What it leaves behind
A BDF font holds no outlines, kerning or layout features. It looks right only at the size it was drawn for, so pick the size before you convert.
Glyphs that no character maps to, such as ligatures and alternates, are left out.
To go the other way, use BDF to DFONT.
DFONT 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
Mac Font Suitcase
Classic Mac OS font suitcases with the font resources in the data fork.
- Extensions
- .dfont
- MIME type
- application
/x -dfont - 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 DFONT to BDF conversion through the API, for your app or your agent.
$ cv convert font.dfont font/ --to bdf$ cv convert font.dfont font/ --to bdfQuestions.What people ask about DFONT to BDF.
They are 16 pixels per em by default. Set Pixel size to any value from 6 to 72 to change it.
No. Every TrueType or OpenType font in the suitcase becomes its own BDF file, numbered in order.
No. A BDF font holds no kerning, outlines or layout features, so none of them carry over.
Glyphs that no character maps to, such as ligatures and alternates, are left out of the BDF file.