Linux command
printafm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Display AFM font metrics
printafm [font.afm]
Show specific font info
printafm [Times-Roman]
说明
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.
FAQ
What is the printafm command used for?
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.
How do I run a basic printafm example?
Run `printafm [font.afm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more printafm examples?
This page includes 2 examples for printafm, plus related commands for nearby Linux tasks.