Linux Commands Examples

A great documentation place for Linux commands


add information to troff font files for use with groff

see also : groff


addftinfo [ -v ] [ -param value... ] res unitwidth font

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


aclocal ............ automake
acm ..................... acm
addbbox ............ geomview
addftinfo ............. groff
addr2line .......... binutils


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.


-v prints the version number.

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

The height of lowercase letters without ascenders such as x.


The height of figures (digits).


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


The height of characters such as parentheses.


The height of uppercase letters such as A.


The depth of a comma.


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


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 the reasonable values for a Times font.

see also

groff _font, groff, groff_char

How can this site be more helpful to YOU ?

give  feedback