Convert OTF to BDF

Turn OTF 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 OTF files on the dialor turn it to pick what to do

An OpenType font as a bitmap font.Every mapped character is drawn as one-bit pixels at one size, 16 pixels per em by default.

  1. What you get

    A BDF file in the X11 bitmap text format. Every character the font maps is drawn as one-bit pixels and encoded as Unicode. Each glyph keeps its glyph name and width, and the file records the font's names, weight, slant, ascent and descent at that size.

    The glyphs are hinted. The font's TrueType instructions do this when it has them. 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.

  2. What it leaves behind

    A bitmap 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.

    A CID-keyed font names its glyphs by CID, such as cid00042. Characters or Unicode ranges keep only the glyphs for those characters.

  3. Size and character options

    Set Pixel size to draw the font at another size, from 6 to 72. The default is 16.

    Set Characters to keep only the glyphs for those characters. This can make a font much smaller for a page that uses a few of them. Set Unicode ranges to keep only a range, such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables.

    To go the other way, use BDF to OTF.

OTF and BDF.What each format is, and the options this conversion takes.

  1. 01 · 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.

  2. 02 · 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
  3. 03 · 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

From · OTF

OpenType Font

OpenType fonts with CFF outlines and advanced typography.

Extensions
.otf
MIME type
font/otf
Kind
Fonts
To · BDF

BDF Font

Bitmap fonts in the X11 text format.

Extensions
.bdf
MIME type
application/x-font-bdf
Kind
Fonts

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

terminal
$ cv convert font.otf font.bdf
$ cv convert font.otf font.bdf

Questions.What people ask about OTF to BDF.

01OF 04

16 pixels per em by default. Set Pixel size to any value from 6 to 72.

No. The bitmap font holds no outlines, so it looks right only at the size it was drawn at. Convert again with a different Pixel size for another size.

No. Glyphs that no character maps to, such as ligatures and alternates, are left out.

Yes. Set Characters to list the characters, or set Unicode ranges to keep ranges such as U+0020-007E.

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