LinuxCommandLibrary

printafm

Display Adobe Font Metrics information

TLDR

Display AFM font metrics

$ printafm [font.afm]
copy
Show specific font info
$ printafm [Times-Roman]
copy

SYNOPSIS

printafm [font]

DESCRIPTION

printafm displays detailed metrics from Adobe Font Metrics (AFM) files, including character widths, bounding boxes, kerning pairs, and other typographic properties. AFM files accompany PostScript Type 1 fonts and describe their dimensions for use in page layout and typesetting.
This Ghostscript utility is useful for inspecting font properties when debugging PostScript or PDF rendering, or when developing applications that need to calculate text dimensions for layout purposes.

PARAMETERS

FONT

AFM font file or name.

CAVEATS

Requires AFM files. Part of Ghostscript suite.

HISTORY

printafm is part of Ghostscript for font metrics display.

SEE ALSO

gs(1), fc-list(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community