DFONT to AFM Converter

Extract font metrics from Mac DFONT into AFM format online

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

Precise Metrics

The resulting AFM file captures every kerning pair and character width from your DFONT, enabling pixel-perfect text layout in PostScript environments.

Browser-Based Tool

No font editors or command-line utilities required — convert your DFONT to AFM directly in the browser from any device connected to the internet.

Private and Secure

Uploaded DFONT files are deleted right after conversion completes, and output AFM files are automatically removed from our servers within 24 hours.

How to convert DFONT 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

DFONT (Data Fork TrueType) is a font file format introduced by Apple with Mac OS X 10.0 in March 2001, created to solve a fundamental compatibility problem in the transition from classic Mac OS to the Unix-based OS X architecture. Classic Mac fonts stored glyph data in the resource fork — a secondary file stream specific to the HFS file system — but OS X's Unix foundation and its use of UFS had no native resource fork support. DFONT relocates the entire resource fork structure into the data fork, wrapping the same TrueType font tables in a resource map that standard OS X typography APIs can read. The file is essentially a resource-fork-less TrueType suitcase. Apple bundled DFONT as the default format for system fonts shipped with OS X, and it remains present in macOS system directories. One advantage is seamless backward compatibility with Apple's existing font rendering stack — the internal structure mirrors classic resource-fork fonts, so CoreText and its predecessors handle DFONTs without any special conversion path. The single-fork design is another practical strength, ensuring that DFONT files survive intact when stored on non-HFS volumes, transferred over networks, or managed by version control systems. While Apple has increasingly moved toward OpenType (.otf/.ttc) for newer system fonts, DFONT files continue to appear in macOS installations and in font collections originating from the OS X era.
Developer: Apple Computer
Initial release: 2001
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 DFONT to AFM?

AFM files contain precise glyph widths, kerning pairs, and bounding boxes that PostScript-based applications need for accurate text layout and composition.

How do I open an AFM file?

AFM is a plain-text format readable in any text editor. It is used by PostScript printers, TeX distributions, and layout tools like Adobe InDesign for font metrics.

What information does the AFM file contain?

It stores character widths, kerning tables, font bounding boxes, and encoding data — everything needed for text positioning without the actual glyph outlines.

Can I use AFM without other font files?

AFM provides metrics only. You typically pair it with a PFB or PFA file that contains the actual glyph outlines for rendering and printing.

Is this conversion free to use?

Yes. Convertio handles DFONT to AFM conversion entirely free and online — no desktop tools or registration required to get your metrics file.