Convert WOFF2 to BDF
Turn WOFF2 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 WOFF2 files on the dialor turn it to pick what to do
A bitmap font at one pixel size.Each mapped character is drawn as one-bit pixels, 16 pixels per em by default.
What you get
A BDF file with a bitmap for every character the font maps. Characters are encoded as Unicode, and each glyph keeps its name and width. The font's names, weight, slant, ascent and descent are written for the chosen size.
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 that size, those are used.
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 are left out. This includes ligatures and alternates.
Options
Set Pixel size to draw the bitmaps at another size, from 6 to 72. The default is 16.
A variable font needs Axes to pick one instance, with each axis fixed at one value. Set Characters or Unicode ranges to keep only the glyphs for those characters, such as U+0020-007E for basic Latin.
To go the other way, use BDF to WOFF2.
WOFF2 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
Web Open Font Format 2
WOFF 2.0, Brotli-compressed web fonts, about 30% smaller than WOFF.
- Extensions
- .woff2
- MIME type
- font
/woff2 - 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 WOFF2 to BDF conversion through the API, for your app or your agent.
$ cv convert font.woff2 font.bdf$ cv convert font.woff2 font.bdfQuestions.What people ask about WOFF2 to BDF.
16 pixels per em unless you set Pixel size. It accepts values from 6 to 72.
Yes, but you need to set Axes to pick one instance. Each axis is fixed at one value.
No. A bitmap font holds no kerning or layout features, and glyphs that no character maps to, such as ligatures and alternates, are left out.
Yes. Set Characters to list them, or set Unicode ranges to keep a range such as U+AC00-D7A3 for Hangul syllables.