.PFM

PFM File

Printer Font Metrics File
Ask a question
QUICK ANSWER

A PFM file is a Printer Font Metrics file - a small binary companion to a Type 1 PostScript font (.PFB) on Windows. It holds character widths, kerning, and spacing data that Windows needs to display the font correctly. To use it, open both the .PFM and .PFB files together in FontForge, or convert the pair to OTF/TTF for installation on modern Windows.

Developer: Microsoft / Adobe Systems Category: Font Files MIME: application/octet-stream
OPENS ON Windows
Related: .WOFF · .TTF · .EOT · .MCF

On this page

19k+ extensions indexed
Last reviewed Sep 6, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PFM file format?

The .pfm file (Printer Font Metrics) is a binary font metrics descriptor used on Windows to define character widths, spacing, and kerning data for PostScript Type 1 fonts. Developed jointly by Microsoft and Adobe in the mid-1980s, .pfm files served as the Windows counterpart to Adobe's plain-text .afm (Adobe Font Metrics) format.

A .pfm file is always paired with a .pfb (Printer Font Binary) file - both must be present to install a Type 1 font on Windows. Adobe Type Manager (ATM) reads the .pfm to render Type 1 fonts on screen at any size. The file begins with a fixed 66-byte PFMHEADER structure containing fields such as dfVersion, dfSize, dfCopyright, dfType, and display resolution values, followed by variable-length extension blocks for the device name, face name, and kerning pair table.

Although .pfm files are rarely needed today - OpenType and TrueType fonts carry their own metrics internally - legacy prepress workflows, older print spoolers, and some PostScript RIPs may still reference them. FontForge can read and export .pfm files for conversion or inspection. The format was effectively obsoleted when Windows Vista deprecated ATM and native OpenType support became standard.

Security & safety

RISK: LOW

PFM is a static metrics file with no executable code. Risk is negligible; malformed files may cause font rendering errors but no known exploit vector.

Format details

in a nutshell
FULL NAMEPrinter Font Metrics Fileaka PFM font file, Windows Type 1 font metrics
DEVELOPERMicrosoft / Adobe Systemssince 1985 (Windows 1.0 / early PostScript era)
CATEGORYFont Files
MIME TYPEapplication/octet-stream
TYPEbinary font metrics file
This extension is also used by…
  • Portable Float Map image - HDR floating-point image format (.pfm) used in computer graphics / tone-mapping research, unrelated to fonts.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
0001
ASCII
··
First 2 bytes are 0x0001 (PFMHEADER dfType); followed by 4-byte file size LE DWORD. Not unique - must also match font category field.

Programs that open PFM files

Windows3 apps
Microsoft Windows Font Viewer Built-in Double-click the PFM file - Windows may preview basic font info if ATM or compatible shim is present; limited support on Windows 10/11.
Adobe Photoshop Paid Photoshop uses installed Type 1 fonts system-wide; install the PFM+PFB pair via Windows Font settings first.
FontForge Open-source File → Open, select the .pfm file to view/edit metrics. FontForge can also generate PFM from other font formats.

Technical details

deep spec
File encodingBinary, little-endian
Magic bytesFirst 2 bytes `0x00 0x01` (`PFMHEADER` `dfType` field); not unique on its own
PFMHEADER sizeFixed 66 bytes
Key header fields`dfVersion`, `dfSize`, `dfCopyright`, `dfType`, `dfPoints`, `dfVertRes`, `dfHorizRes`
Format versions`dfVersion` `0x0100` (Windows 3.0); `0x0200` (Extended PFM with kerning support)
Typical file size2 KB - 20 KB
Required companion fileAlways paired with `.pfb` (Printer Font Binary); both must be present to install a Type 1 font on Windows
PlatformWindows only (macOS and Unix used the text-based `.afm` format instead)
Used byAdobe Type Manager (ATM) to enable on-screen rendering of Type 1 fonts at arbitrary sizes
StructureFixed 66-byte `PFMHEADER` + variable extension blocks for device name, face name, and kerning pair table
MIME typeapplication/octet-stream (no dedicated MIME registered)
Superseded byOpenType (`.otf`) and TrueType (`.ttf`) embed their own metrics; PFM obsolete since Windows Vista deprecated ATM
Released1985 (Windows 1.0 / early PostScript era)
Latest versionWindows 3.1 Printer Font Metrics spec (1992)

PFM conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PFM files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PFM files.

Frequently asked questions

What is a PFM file?
A PFM (Printer Font Metrics) file stores spacing and kerning data for Adobe Type 1 PostScript fonts on Windows. It always accompanies a .PFB file containing the actual font outlines.
How do I install a PFM font on Windows?
Place both the .PFM and .PFB files in the same folder. On Windows 10/11 native Type 1 support is limited - use FontForge to convert the pair to OTF/TTF and install that instead.
Can I open a PFM file without special software?
The Windows Font Viewer may show basic info. To actually use the font or convert it, FontForge (free, open-source) is the best tool.
What is the difference between PFM and AFM?
AFM is a plain-text version of font metrics used on Unix/Mac; PFM is the Windows binary equivalent. Both describe the same typographic data.
Are PFM files still used today?
Rarely. Modern fonts use TrueType/OpenType which embed metrics internally. PFM survives only in legacy print/pre-press workflows that still use Type 1 fonts.

References

1Microsoft Windows 3.1 SDK - Printer Font Metrics structuredocs.microsoft.com
2docs.fileformat.com - PFM format overviewdocs.fileformat.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.MDMarkdown Document
8.DATProgram Data File (generic)
9.NOMEDIAAndroid No-Media Marker File
10.TXTPlain Text File

Related extensions

.WOFFWeb Open Font Format
.TTFTrueType Font
.EOTEmbedded OpenType Font
.MCFMathcad Font / Resource File
.CHRBorland BGI Stroke Font File
.OTFOpenType Font

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z