man(1) Manual page archive


     FONT(5)                                                   FONT(5)

     NAME
          font - description files for troff

     DESCRIPTION
          Directories /usr/lib/font/devdest describe typesetters,
          where dest is as in the -T option of troff(1). Such directo-
          ries contain files named as in FILES below.

          Lines of a typesetter description in file have the following
          forms.

          res n          Resolution of device is n basic units per
                         inch.
          hor n          Horizontal motion occurs in increments of n
                         units.
          vert n         Vertical motion occurs in increments of n
                         units.
          unitwidth n    Widths are given for pointsize n.
          sizescale n    Scaling for fractional pointsizes, not used.
          paperwidth n   Width of paper is n units.
          paperlength n  Length of paper is n units.
          biggestfont n  Maximum number of characters in a font is n.
          sizes n n n ... 0
                         Pointsizes n ... are available.
          fonts n name ...
                         Number of initial fonts followed by their
                         names, for example
                         fonts 4 R I B S
          charset        This line comes last, followed by a list of
                         special character names for the device, sepa-
                         rated by spaces or newlines, as bu for \(bu

          Lines of a font description file have the following forms.

          name name      name of the font, such as R or CW
          internalname name
                         The typesetter's name for the font, indepen-
                         dent of the troff name or font position.
          special        A troff special font, logically part of all
                         non-special fonts.
          ligatures name ... 0
                         The named ligatures are available.  Legal
                         names are ff fi fl ffi ffl.
          spacewidth n   Space is n units wide (default 1/3 of an em).
          charset        Must come last.  Each line following charset
                         describes one character thus:

                         name  width  height  code

                         Name is either a single ASCII character or a

     FONT(5)                                                   FONT(5)

                         special character listed in Width is in basic
                         units.  Height is 1 if the character descends
                         below the baseline, 2 if it rises above the
                         letter `a', 3 if it both rises and descends,
                         0 for neither.  Code is the number sent to
                         the typesetter to produce the character.  If
                         a character name is a synonym for the preced-
                         ing one, its width, height, and code may be
                         replaced by one double quote ".

          Lines beginning with # are comments in both DESC and font
          description files.

          Troff and its postprocessors use the binary versions as com-
          piled by a program makedev.

     FILES
          typesetter description directory
          typesetter description (ASCII)
          typesetter description (binary); created by
                              makedev
          font                description of the named font (ASCII)
          font.out            description of the named font (binary);
                              created by makedev
          ual, Volume 2