LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install ghostscript
copy
sudo dnf install ghostscript
copy
sudo pacman -S ghostscript
copy
sudo apk add ghostscript
copy
sudo zypper install ghostscript
copy
brew install ghostscript
copy
nix profile install nixpkgs#ghostscript
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid