info > ADDFTINFO

ADDFTINFO(1) General Commands Manual ADDFTINFO(1)

πŸ“› NAME

addftinfo – add information to troff font files for use with groff

πŸš€ Quick Reference

Use CaseCommandDescription
πŸ” Guess font metrics for a new font fileaddftinfo res unitwidth fontReads a troff font file and adds height/depth info, writes to stdout.
πŸ“ Override specific metric parametersaddftinfo -x-height 700 -body-height 1000 res unitwidth fontManually set x‑height and body‑height instead of using defaults.
ℹ️ Show versionaddftinfo -vPrint the version number of addftinfo.
❓ Show helpaddftinfo --helpDisplay usage summary.

πŸ“‹ SYNOPSIS

addftinfo [-asc-height n] [-body-depth n] [-body-height n]
          [-cap-height n] [-comma-depth n] [-desc-depth n]
          [-fig-height n] [-x-height n] res unitwidth font

addftinfo --help

addftinfo -v
addftinfo --version

πŸ“– DESCRIPTION

addftinfo reads a troff font file and adds some additional font-metric information that is used by the groff system. The font file with the information added is written on the standard output. The information added is guessed using some parametric information about the font and assumptions about the traditional troff names for characters. The main information added is the heights and depths of characters. The res and unitwidth arguments should be the same as the corresponding parameters in the DESC file; font is the name of the file describing the font; if font ends with I the font will be assumed to be italic.

βš™οΈ OPTIONS

All options change one of the parameters used to derive heights and depths. Like existing quantities in the font file, each value is in inches/res for a font whose point size is unitwidth. Each param-option must be one of:

πŸ“ -x-height

πŸ”€ The height of lowercase letters without ascenders such as x.

πŸ“ -fig-height

πŸ”’ The height of figures (digits).

πŸ“ -asc-height

↕️ The height of characters with ascenders, such as b, d or l.

πŸ“ -body-height

🧱 The height of characters such as parentheses.

πŸ“ -cap-height

πŸ”  The height of uppercase letters such as A.

πŸ“ -comma-depth

⬇️ The depth of a comma.

πŸ“ -desc-depth

⬇️ The depth of characters with descenders, such as p, q, or y.

πŸ“ -body-depth

🧱 The depth of characters such as parentheses.

addftinfo makes no attempt to use the specified parameters to guess the unspecified parameters. If a parameter is not specified the default will be used. The defaults are chosen to have reasonable values for a Times font.

πŸ“š SEE ALSO

You can view a man page name(n) with

man n name

in text mode and with

groffer n name

in graphical mode (PDF, etc.).

groff 1.22.4 23 March 2022 ADDFTINFO(1)

ADDFTINFO
πŸ“› NAME πŸš€ Quick Reference πŸ“‹ SYNOPSIS πŸ“– DESCRIPTION βš™οΈ OPTIONS
πŸ“ -x-height πŸ“ -fig-height πŸ“ -asc-height πŸ“ -body-height πŸ“ -cap-height πŸ“ -comma-depth πŸ“ -desc-depth πŸ“ -body-depth
πŸ“š SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-25 09:47 @216.73.217.127
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!