Convert TTF to PCF
Turn TTF 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 TTF files on the dialor turn it to pick what to do
A bitmap font for X11, drawn at one size.Every mapped character becomes one-bit pixels in a PCF font, at 16 pixels per em by default.
What you get
One PCF file, encoded as Unicode. Each character the TTF maps is drawn as one-bit pixels and compiled into the bitmap font. The file carries each glyph's name and width, plus the font's names, weight, slant, ascent and descent at that size.
The TrueType instructions in the font hint the glyphs. FreeType's autohinter does this instead for CFF outlines and for fonts without instructions. If the font has its own bitmaps of the chosen size, those are used.
What it leaves behind
The PCF holds no outlines, kerning or layout features. It looks right only at the size it was made at.
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.
Options
Set Pixel size to draw the font at another size, from 6 to 72. The default is 16.
A variable font needs Axes to pick one instance. Axes fixes each axis, such as weight or width, at one value, which makes a single static style.
Set Characters or Unicode ranges to keep only some glyphs. Unicode ranges takes values such as U+0020-007E for basic Latin or U+AC00-D7A3 for Hangul syllables.
TTF 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
TrueType Font
TrueType fonts, the format of most system fonts.
- Extensions
- .ttf
- MIME type
- font
/ttf - Kind
- Fonts
PCF Font
Compiled bitmap fonts for X11.
- Extensions
- .pcf
- MIME type
- application
/x -font -pcf - Kind
- Fonts
In your code.The same TTF to PCF conversion through the API, for your app or your agent.
$ cv convert font.ttf font.pcf$ cv convert font.ttf font.pcfQuestions.What people ask about TTF to PCF.
It looks right only at the size it was made at. Set Pixel size to make a PCF for another size.
Yes, but you need to set Axes to pick one instance. It fixes each axis at one value.
No. Glyphs that no character maps to, such as ligatures and alternates, are left out.
There is a separate conversion for that: PCF to TTF.