Convert TTC to PCF

Turn TTC fonts into PCF files. 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 TTC files on the dialor turn it to pick what to do

Bitmap fonts for X11 from a TTC.Each font in the collection becomes its own PCF file at one pixel size.

  1. What you get

    One PCF file for every font in the TTC, numbered in order. Every character the font maps is drawn as one-bit pixels at 16 pixels per em and compiled into an X11 font encoded as Unicode.

    Each glyph keeps its name and width. The font's names, weight, slant, ascent and descent are carried over at that size.

  2. 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 instead. If the font has its own bitmaps at the chosen size, those are used.

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

  3. What it leaves behind

    A PCF holds bitmaps, not outlines. Kerning and layout features are dropped, so the font looks right only at the size it was made for. For another size, convert again with a different Pixel size.

    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.

TTC and PCF.What each format is, and the options this conversion takes.

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

The formats

From · TTC

TrueType Collection

TrueType and OpenType collections, several fonts in one file.

Extensions
.ttc .otc
MIME type
font/collection
Kind
Fonts
To · PCF

PCF Font

Compiled bitmap fonts for X11.

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

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

terminal
$ cv convert font.ttc font/ --to pcf
$ cv convert font.ttc font/ --to pcf

Questions.What people ask about TTC to PCF.

01OF 04

Yes. Each font in the collection becomes its own PCF file, numbered in order.

16 pixels per em unless you set Pixel size. It accepts 6 to 72.

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

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

More conversions.Other ways in and out of TTC and PCF.