addftinfo(1)
addftinfo(1)
okay so welcome to the General Commands Manual, bestie β this is addftinfo(1), and we're about to give troff fonts the extra metrics info that groff needs. π
π Name π
addftinfo β add font metrics to troff fonts for use with groff.
β¨ 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] resolution unit-width font
addftinfo --help
addftinfo -v
addftinfo --version
π¦ Description π¦
addftinfo reads an AT&T troff font description file called font, adds the further font metric information required by GNU troff(1), and writes the combined result to the standard output stream. The info it adds is derived from the font's existing parameters and from assumptions about traditional troff names for characters. Among the font metrics added are the heights and depths of characters β aka how far each character extends vertically above and below the baseline. π
The resolution and unit-width 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 is assumed to be oblique (or italic). π¦
π Options π
--helpβ displays a usage message, then exits.-v,--versionβ show version information, then exit.
All of those exit afterward, periodt. β¨
All the other options change parameters that are used to derive the heights and depths. Like the existing quantities in the font description file, each value n is in scaled points β that's inches/resolution for a font whose type size is unit-width β see groff_font(5). π«Ά
-asc-height nβ height of characters with ascenders, such as βbβ, βdβ, or βlβ-body-depth nβ depth of characters such as parentheses-body-height nβ height of characters such as parentheses-cap-height nβ height of uppercase letters such as βAβ-comma-depth nβ depth of a comma-desc-depth nβ depth of characters with descenders, such as βpβ, βqβ, or βyβ-fig-heightβ height of figures (numerals)-x-height nβ height of lowercase letters without ascenders such as βxβ
bestie, addftinfo makes no attempt to use the specified parameters to infer unspecified parameters. If a parameter is not specified, the default will be used. The defaults are chosen to produce reasonable values for a Times font. No mind-reading here, iykyk. π
π Exit status π
addftinfo exits with status 0 on successful operation, and status 2 if the program cannot interpret its command-line arguments. Slay when it works, dramatic exit when the args don't parse. π
πΈ See also πΈ
groff_font(5), groff(1), groff_char(7)
π This page is addftinfo(1) from groff 1.24.2, dated 2026-10-01 β that's the whole vibe, bestie; now go add those metrics and make those fonts iconic. ππ
π¦ where this page comes from
- alpine 3.24: groff-doc 1.24.2-r0 Β· GPL-3.0-or-later
- Copyright (C) 1989-2025 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms