← 返回命令列表

Linux command

groff_font 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List available fonts

groff -Tps -Z -f[fontname] < /dev/null

View font directory

ls /usr/share/groff/current/font/

Check font files

cat /usr/share/groff/current/font/devps/DESC

说明

groff_font describes the format of font files used by GNU troff (groff). Font files define character metrics, kerning pairs, and other typographic information needed for text layout. Font files are stored in device-specific subdirectories under /usr/share/groff/. Each output device (ps, pdf, html) has its own font definitions with the DESC file specifying device parameters.

FAQ

What is the groff_font command used for?

groff_font describes the format of font files used by GNU troff (groff). Font files define character metrics, kerning pairs, and other typographic information needed for text layout. Font files are stored in device-specific subdirectories under /usr/share/groff/. Each output device (ps, pdf, html) has its own font definitions with the DESC file specifying device parameters.

How do I run a basic groff_font example?

Run `groff -Tps -Z -f[fontname] < /dev/null` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more groff_font examples?

This page includes 3 examples for groff_font, plus related commands for nearby Linux tasks.