Convert PFB to WOFF2

Turn PFB fonts into WOFF2. The outlines, hints, names and glyph names as CFF outlines compressed for the web.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PFB files on the dialor turn it to pick what to do

A Type 1 font ready for the web.Outlines, hints and names move into a WOFF2 file. Kerning does not come along.

  1. What you get

    One WOFF2 file. The outlines are stored as CFF outlines and compressed for the web. The hints, the font names and the glyph names are kept.

    The input can be a binary PFB or an ASCII PFA file.

  2. What changes or is left out

    Kerning is not included. Type 1 fonts keep kerning in a separate AFM file, and that file is not part of the conversion.

    As in FreeType, the space and hyphen also stand in for the no-break space and soft hyphen when the font has no glyphs of their own.

  3. When it stops

    If the font file cannot be parsed, the conversion stops with input_corrupted.

    To go the other way, use WOFF2 to PFB.

PFB and WOFF2.What each format is.

The formats

From · PFB

Type 1 Font

PostScript Type 1 fonts, binary PFB or ASCII PFA. The print-shop font format before OpenType.

Extensions
.pfb .pfa
MIME type
application/x-font-type1
Kind
Fonts
To · WOFF2

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

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

terminal
$ cv convert font.pfb font.woff2
$ cv convert font.pfb font.woff2

Questions.What people ask about PFB to WOFF2.

01OF 04

No. Type 1 fonts keep kerning in a separate AFM file, and kerning is not included in the WOFF2 file.

Yes. Both the binary PFB and the ASCII PFA forms of Type 1 fonts are accepted.

Yes. The outlines, hints, names and glyph names are all kept in the WOFF2 file.

The conversion stops with input_corrupted, which means the file could not be parsed.

More conversions.Other ways in and out of PFB and WOFF2.