Convert WOFF2 to PCF
Turn WOFF2 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 WOFF2 files on the dialor turn it to pick what to do
A bitmap font for X11 from a WOFF2 file.The glyphs are drawn as one-bit pixels at one size.
What you get
A PCF font, the compiled bitmap format for X11. The conversion draws the characters the font maps as one-bit pixels at 16 pixels per em, unless you set Pixel size to a value from 6 to 72. The result is one file, encoded as Unicode.
Each glyph keeps its name and width. The font's names, weight, slant, ascent and descent are stored for that size.
How the glyphs are drawn
The font's TrueType instructions hint the glyphs. For CFF outlines and fonts without instructions, FreeType's autohinter does the work. If the font has its own bitmaps at the chosen size, those are used.
What it leaves behind
A PCF 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. Characters past U+FFFF are also left out, because PCF cannot encode them.
Variable fonts and subsets
A variable font needs Axes to pick one instance, such as a weight or width, before it can be converted.
To keep only some glyphs, set Characters or Unicode ranges. A range such as U+0020-007E covers basic Latin, and U+AC00-D7A3 covers Hangul syllables. To go the other way, see PCF to WOFF2.
WOFF2 and PCF.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
PCF Font
Compiled bitmap fonts for X11.
- Extensions
- .pcf
- MIME type
- application
/x -font -pcf - Kind
- Fonts
In your code.The same WOFF2 to PCF conversion through the API, for your app or your agent.
$ cv convert font.woff2 font.pcf$ cv convert font.woff2 font.pcfQuestions.What people ask about WOFF2 to PCF.
It is drawn at 16 pixels per em by default. Set Pixel size to change it to any value from 6 to 72.
No. Kerning and layout features are not kept, and glyphs that no character maps to, such as ligatures and alternates, are left out.
Set Axes to fix each axis, such as weight or width, at one value. That picks a single instance to draw.
Yes. Set Characters to list them, or set Unicode ranges to keep the glyphs in ranges such as U+0020-007E.