Scroll to navigation

addftinfo(1) General Commands Manual addftinfo(1)

Name

addftinfo - add font metrics totrofffonts for use withgroff

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]resolutionunit-widthfont
addftinfo --help
addftinfo -v
addftinfo --version

Description

addftinforeads anAT&T trofffont description filefont,adds additional font metric information required byGNU troff(1),and writes the combined result to the standard output.The information added is derived from the font's existing parameters andassumptions about traditionaltroffnames for characters.Among the font metrics added are the heights and depths of characters(how far each extends vertically above and below the baseline).Theresolutionandunit-widtharguments should be the same as the corresponding parameters in theDESCfile.fontis the name of the file describing the font;iffontends with“I”,the font is assumed to be oblique(or italic).

Options

--helpdisplays a usage message,while-vand--versionshow version information;all exit afterward.

All other options change parameters that are used to derive the heightsand depths.Like the existing quantities in the font description file,eachvalue nis inscaled points,inches/resolutionfor a font whose type size isunit-width;seegroff_font(5).

height of characters with ascenders,such as “b”,“d”,or “l”
depth of characters such as parentheses
height of characters such as parentheses
height of uppercase letters such as “A”
depth of a comma
depth of characters with descenders,such as “p”,“q”,or “y”
height of figures (numerals)
height of lowercase letters without ascenders such as “x”

addftinfomakes no attempt to use the specified parameters to infer unspecifiedparameters.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)

26 December 2024 groff 1.23.0