Convert DFONT to PCF

Turn DFONT 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 DFONT files on the dialor turn it to pick what to do

Bitmap fonts for X11 from a Mac suitcase.Each font in the suitcase is drawn as one-bit pixels at 16 pixels per em.

  1. What you get

    A PCF font encoded as Unicode. Every character the font maps is drawn as one-bit pixels at 16 pixels per em, and the file holds each glyph's name and width. It also holds the font's names, weight, slant, ascent and descent at that size.

    A suitcase can hold more than one TrueType or OpenType font. Each one becomes its own file, numbered in order.

  2. How glyphs are drawn

    The font's TrueType instructions hint the glyphs. For CFF outlines and for fonts without instructions, FreeType's autohinter does the hinting. If the font has its own bitmaps at the chosen size, those are used.

    Set Pixel size to draw at another size. It accepts 6 to 72, and the default is 16.

  3. 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, so choose the Pixel size you need before you convert.

    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.

    To go the other way, use PCF to DFONT.

DFONT 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 · DFONT

Mac Font Suitcase

Classic Mac OS font suitcases with the font resources in the data fork.

Extensions
.dfont
MIME type
application/x-dfont
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 DFONT to PCF conversion through the API, for your app or your agent.

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

Questions.What people ask about DFONT to PCF.

01OF 04

They are drawn at 16 pixels per em by default. Set Pixel size to a value from 6 to 72 to change it.

Yes. Every TrueType or OpenType font in the suitcase becomes its own PCF file, numbered in order.

No. The bitmap font holds no outlines, so it looks right only at the size it was made for.

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

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