addftinfo - add font metrics to troff fonts for use with groff
Contents
Description
addftinfo reads an AT&T troff font description file font, adds additional font metric information
required by GNU troff(1), and writes the combined result to the standard output. The information added
is derived from the font's existing parameters and assumptions about traditional troff names for
characters. Among the font metrics added are the heights and depths of characters (how far each 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).
Name
addftinfo - add font metrics to troff fonts for use with groffOptions
--help displays a usage message, while -v and --version show version information; all exit afterward.
All 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 scaledpoints, inches/resolution for a font
whose type size is unit-width; see groff_font(5).
-asc-heightn
height of characters with ascenders, such as “b”, “d”, or “l”
-body-depthn
depth of characters such as parentheses
-body-heightn
height of characters such as parentheses
-cap-heightn
height of uppercase letters such as “A”
-comma-depthn
depth of a comma
-desc-depthn
depth of characters with descenders, such as “p”, “q”, or “y”
-fig-height
height of figures (numerals)
-x-heightn
height of lowercase letters without ascenders such as “x”
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.
See Also
groff_font(5), groff(1), groff_char(7) groff 1.23.0 26 December 2024 addftinfo(1)
Synopsis
addftinfo [-asc-heightn] [-body-depthn] [-body-heightn] [-cap-heightn] [-comma-depthn]
[-desc-depthn] [-fig-heightn] [-x-heightn] resolutionunit-widthfontaddftinfo--helpaddftinfo-vaddftinfo--version