CFF to PFM Converter

Extract Windows font metrics from CFF data as PFM files online

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Windows Metrics

PFM provides the specific metrics Windows needs for PostScript fonts. Converting CFF to PFM ensures your font integrates correctly with legacy Windows systems.

Complete Workflow

Pair the PFM output with a PFB conversion to get a complete Type 1 font package ready for installation on Windows systems.

Secure Handling

Uploaded CFF fonts are removed right after processing and PFM output is deleted within 24 hours — your font data stays private.

How to convert CFF to PFM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pfm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pfm file right afterwards

About formats

CFF (Compact Font Format) is a font outline format developed by Adobe Systems around 1996 as a more efficient successor to the Type 1 font representation. CFF uses Type 2 charstrings — an optimized encoding that supports multiple arguments per operator, default value elision, and shared subroutines — to describe the same cubic Bezier glyph outlines as Type 1 but with substantially less storage. A typical CFF font is 20-50% smaller than its Type 1 equivalent. The format can function as a standalone font file or, more commonly, as the outline data table inside an OpenType font container (the CFF table in OTF files with PostScript outlines). CFF supports multiple fonts within a single file through its FontSet structure, sharing global subroutines across the collection to further reduce size. One advantage is compression efficiency without lossy degradation — every control point and hint is preserved exactly, just encoded more compactly. The format also inherits the full hinting capability of Type 1, including stem hints, counter hints, and alignment zones that ensure crisp rendering on low-resolution screens and printers. CFF2, an evolution introduced with OpenType 1.8, adds support for font variations (variable fonts) by allowing interpolation across multiple design axes. Broad support in PDF viewers, web browsers via OpenType, and professional design software makes CFF one of the most widely deployed outline formats in digital typography.
Developer: Adobe Systems
Initial release: 1996
PFM (Portable Float Map) is a floating-point raster image format devised by Paul Debevec around 2001, designed to store high-dynamic-range image data with the simplicity of the Netpbm family of formats. PFM extends the PBM/PGM/PPM philosophy — minimal header, raw data, no compression — to 32-bit IEEE floating-point samples, providing direct access to HDR pixel values without the encoding overhead of formats like OpenEXR or the limited range of Radiance HDR's RGBE encoding. The file structure is deliberately minimal: a two-character magic number ('Pf' for grayscale, 'PF' for color), width and height on the next line, a scale/endianness indicator (negative for little-endian, positive for big-endian, with magnitude indicating scale factor), and then the raw 32-bit float data for each pixel. PFM files store one float per pixel for grayscale or three floats (RGB) per pixel for color, with no compression, alpha channel, or metadata support. The format emerged from the HDR imaging research community where Debevec's work on image-based lighting and light stage capture required a simple, unambiguous way to store linear floating-point radiance values that could be easily exchanged between research tools. One advantage is absolute simplicity for HDR data: PFM can be read and written in a few lines of code in any language that supports IEEE floats, with no library dependencies — ideal for research prototyping and quick data exchange between custom tools. The format's widespread adoption in the computer vision and computational photography research community is another practical strength — optical flow benchmarks (Middlebury), depth estimation datasets, and radiance field captures commonly use PFM. The format is supported by ImageMagick, OpenCV, HDR Shop, and Luminance HDR.
Developer: Paul Debevec
Initial release: 2001

Frequently Asked Questions

Why convert CFF to PFM?

PFM provides Windows-specific font metrics data. Many legacy Windows applications require a PFM file alongside PFB to properly install and use PostScript fonts.

How do I open a PFM file?

PFM files are consumed by the Windows font system. Font management tools like Adobe Type Manager and Windows font installer use PFM for metric information.

What data does PFM contain?

PFM stores character widths, kerning pairs, and Windows-specific font header information — the metrics Windows needs to position characters correctly.

Is PFM different from AFM?

Both contain font metrics, but PFM is a Windows-specific binary format while AFM is cross-platform ASCII text. PFM is required by older Windows font systems.

Is this conversion free?

Yes — Convertio provides CFF to PFM conversion for free, entirely in the browser with no downloads needed.