LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

groff_font

Groff font file format description

TLDR

List available fonts
$ groff -Tps -Z -f[fontname] < /dev/null
copy
View font directory
$ ls /usr/share/groff/current/font/
copy
Check font files
$ cat /usr/share/groff/current/font/devps/DESC
copy

DESCRIPTION

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.

FONT FILE FORMAT

$ name fontname
spacewidth n
slant n
ligatures ...
charset
char width type code
...
copy

FONT DIRECTORIES

$ /usr/share/groff/current/font/devps/   PostScript fonts
/usr/share/groff/current/font/devpdf/  PDF fonts
/usr/share/groff/current/font/devutf8/ UTF-8 terminal
/usr/share/groff/current/font/devhtml/ HTML output
copy

STANDARD FONTS

$ R   - Roman (Times)
I   - Italic
B   - Bold
BI  - Bold Italic
CR  - Courier Roman
H   - Helvetica
copy

CAVEATS

Font availability depends on device. Custom fonts need proper installation. PostScript fonts require AFM files. Modern use may prefer pdfgroff.

SEE ALSO

groff(1), troff(1), afmtodit(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