addftinfo(1) — Linux manual page

Name | Synopsis | Description | Options | See Also | COLOPHON

addftinfo(1)               General Commands Manual              addftinfo(1)

Name         top

       addftinfo - add font metrics to troff fonts for use with groff

Synopsis         top

       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         top

       addftinfo reads an AT&T troff font file font, adds additional font
       metric information required by groff, and writes the combined result
       to the standard output.  The information added is guessed using some
       parametric information about the font and assumptions about the
       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 italic.

Options         top

       --help displays a usage message, while -v and --version show version
       information; all exit afterward.

       All other options change one of the parameters that are used to
       derive the heights and depths.  Like the existing quantities in the
       font file, each value is in inches/resolution for a font whose point
       size is unit-width.

       -asc-height n
              The height of characters with ascenders, such as “b”, “d”, or

       -body-depth n
              The depth of characters such as parentheses.

       -body-height n
              The height of characters such as parentheses.

       -cap-height n
              The height of uppercase letters such as “A”.

       -comma-depth n
              The depth of a comma.

       -desc-depth n
              The depth of characters with descenders, such as “p”, “q”, or

              The height of figures (digits, numerals).

       -x-height n
              The height of lowercase letters without ascenders such as “x”.

       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         top

       groff_font(5), groff(1), groff_char(7)

COLOPHON         top

       This page is part of the groff (GNU troff) project.  Information
       about the project can be found at 
       ⟨⟩.  If you have a bug report for
       this manual page, see ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2020-11-01.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2020-11-01.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or im‐
       provements to the information in this COLOPHON (which is not part of
       the original manual page), send a mail to

groff    28 October 2020                  addftinfo(1)

Pages that refer to this page: groff(1)groff_font(5)