CFF to AFM Converter

Extract font metrics from CFF PostScript data into AFM format online

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

Readable Metrics

AFM is a human-readable text format — once converted from CFF, you can inspect and edit character widths, kerning pairs, and spacing data directly.

Private & Secure

Your CFF uploads are deleted immediately after processing and AFM output files are purged within 24 hours, keeping your font data confidential.

No Software Needed

Run the conversion entirely in your browser — no font editing tools or command-line utilities required to extract metrics from CFF fonts.

How to convert CFF to AFM

1

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

2

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

3

Let the file convert and you can download your afm 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
AFM (Adobe Font Metrics) is a plain-text metadata file format developed by Adobe Systems as a companion to PostScript Type 1 font outlines. Introduced alongside the PostScript language in 1984, AFM files provide the glyph-level metrics that applications need for text layout — individual character widths, bounding boxes, kerning pair adjustments, ligature substitutions, and global font dimensions like ascender height and cap height. The file is structured as a series of human-readable keyword-value pairs, making it easy to inspect and parse with simple text processing tools. AFM data is essential for accurate typesetting: without it, a layout engine knows the shapes of the glyphs but not how much space to allocate for each character or how to tighten spacing between specific letter combinations. One advantage is format transparency — because AFM is plain ASCII text, metric data can be audited, compared, and version-controlled without specialized software. The separation of metrics from outlines is another architectural strength, allowing a single AFM file to serve multiple rendering environments (screen, print, PDF) without duplicating glyph data. The current specification, Version 4.1 published in 1998, extended the format with composite character definitions and writing direction support. While modern OpenType fonts bundle metrics internally, AFM remains relevant in PostScript workflows, PDF generation pipelines, and legacy publishing systems that depend on Type 1 fonts.
Developer: Adobe Systems
Initial release: 1984

Frequently Asked Questions

Why convert CFF to AFM?

AFM files provide character widths, kerning pairs, and bounding box data in a readable text format — essential for layout engines that need standalone metric information.

How do I open an AFM file?

AFM is a plain-text format. Open it in any text editor to inspect metrics, or feed it to layout software like TeX, Scribus, or legacy desktop publishing tools.

What data does the AFM contain?

The AFM output includes individual character metrics, kerning tables, and global font dimensions extracted from your CFF source — everything a layout engine needs.

Is the conversion accurate?

Yes — all metric values are derived directly from the CFF glyph data, ensuring precise character widths and spacing information in the resulting AFM file.

Is CFF to AFM conversion free?

Entirely free on Convertio. Upload your CFF font, get your AFM metrics, and download — all in the browser with zero cost.

CFF to AFM Quality Rating

4.0 (1 votes)
You need to convert and download at least 1 file to provide feedback!