CID to AFM Converter

Extract Adobe font metrics from CID-keyed fonts 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 plain-text format you can read and edit directly — making it easy to inspect or adjust CID font metrics for your typesetting pipeline.

CID Metrics Extracted

Pull precise character widths and kerning data from your CID-keyed font into a standalone AFM file for use in layout applications.

No Software Needed

The conversion runs entirely on Convertio servers. Extract AFM metrics from your CID fonts using nothing but a web browser.

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

CID (Character Identifier) is a font architecture developed by Adobe Systems and specified in June 1993 to address the challenges of fonts containing very large glyph sets, particularly for CJK (Chinese, Japanese, Korean) scripts. Traditional PostScript fonts identify glyphs by name, which becomes impractical when a font contains tens of thousands of characters — a typical Japanese font may include over 20,000 glyphs. CID-keyed fonts replace glyph names with numeric identifiers organized by a character collection and ordering (such as Adobe-Japan1 or Adobe-GB1), dramatically reducing overhead for glyph access and subsetting. The architecture defines three PostScript font types: Type 9 (CID-keyed Type 1 outlines), Type 10 (CID-keyed Type 3), and Type 11 (CID-keyed Type 42/TrueType). A primary advantage is efficient handling of massive character sets — the numeric CID approach eliminates the memory and processing cost of maintaining thousands of glyph name strings. CID fonts also support sophisticated CMap resources that map encoding values to CIDs, enabling a single font to serve multiple encoding schemes (Unicode, Shift-JIS, Big5) without duplicating glyph data. The architecture integrates well with PDF subsetting, allowing documents to embed only the glyphs actually used. CID-keyed technology laid the foundation for CJK support in both OpenType and modern PDF workflows, and remains active in print production and document processing systems worldwide.
Developer: Adobe Systems
Initial release: June 11, 1993
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 CID to AFM?

AFM provides character widths, kerning pairs, and bounding boxes in a human-readable text file — essential for layout engines and typesetting systems.

How do I open an AFM file?

Open it in any text editor to inspect metrics directly. Layout engines like TeX, Troff, and various publishing tools read AFM natively.

What metrics does AFM include?

AFM contains character widths, bounding boxes, kerning pairs, and ligature information — everything a layout engine needs for precise text positioning.

Is AFM useful for CJK fonts?

Yes — AFM captures width data for every glyph in your CID font, which is critical for accurate CJK text layout with thousands of characters.

Does this conversion cost anything?

Not at all. Convertio extracts AFM data from CID fonts completely free of charge, directly in your browser.