Convert OTF to PCF
Turn OTF 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 OTF files on the dialor turn it to pick what to do
An OTF font as an X11 bitmap font.Each mapped character is drawn as pixels at one size and compiled into a PCF font.
What you get
One PCF file with the font's Unicode characters drawn as one-bit pixels. The default is 16 pixels per em. Set Pixel size to use another size from 6 to 72.
Each glyph keeps its name and width. The file also carries the font's names, weight, slant, ascent and descent at 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 it. If the font has its own bitmaps of the chosen size, those are used.
A CID-keyed font names its glyphs by CID, such as cid00042.
What it leaves behind
A bitmap 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.
Keeping fewer glyphs
Set Characters to keep only the glyphs for the characters you list. This can make a font much smaller for a page that uses a few of them.
Set Unicode ranges to keep the glyphs in ranges such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables.
To go the other way, see PCF to OTF.
OTF and PCF.What each format is, and the options this conversion takes.
- 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.
- 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 - 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
OpenType Font
OpenType fonts with CFF outlines and advanced typography.
- Extensions
- .otf
- MIME type
- font
/otf - Kind
- Fonts
PCF Font
Compiled bitmap fonts for X11.
- Extensions
- .pcf
- MIME type
- application
/x -font -pcf - Kind
- Fonts
In your code.The same OTF to PCF conversion through the API, for your app or your agent.
$ cv convert font.otf font.pcf$ cv convert font.otf font.pcfQuestions.What people ask about OTF to PCF.
16 pixels per em unless you set Pixel size. It accepts values from 6 to 72.
No. The bitmap font looks right only at the size it was drawn at. Convert again with a different Pixel size for another size.
No. The bitmap font holds no kerning or layout features. 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 whole ranges.