GNU Info

Info Node: (groff)Output Format

(groff)Output Format


Next: Device Control Prev: gtroff Output Up: gtroff Output
Enter node , (file) or (file)node

Output Format
-------------

   The output format is text based, as opposed to a binary format (like
TeX DVI).  The output format is 8-bit clean, thus single characters can
have the eighth bit set, as can the names of fonts and special
characters.

   The output format consists of single command characters with attached
parameters which are separated from subsequent text by whitespace or a
newline.

   The names of characters and fonts can be of arbitrary length; drivers
should not assume that they are only two characters long (as `ditroff'
does).

   When a character is to be printed, that character is always in the
current font.  Unlike `ditroff', it is not necessary for drivers to
search special fonts to find a character.

`HN'

`VN'

`hN'

`vN'

`cN'

`CN'

`NNC'

`tXXX'
     XXX is any sequence of characters terminated by a space or a
     newline; the first character should be printed at the current
     position, the the current horizontal position should be increased
     by the width of the first character, and so on for each character.
     The width of the character is that given in the font file,
     appropriately scaled for the current point size, and rounded so
     that it is a multiple of the horizontal resolution.  Special
     characters cannot be printed using this command.

     This command is only allowed if the `tcommand' line is present in
     the `DESC' file.

`uN XXX'
     This is same as the `t' command except that after printing each
     character, the current horizontal position is increased by the sum
     of the width of that character and N.

     This command is only allowed if the `tcommand' line is present in
     the `DESC' file.

`nAB'

`pN'

`sN'
     The argument to the `s' command is in scaled points (units of
     points/N, where N is the argument to the `sizescale' command in
     the `DESC' file).

`fN'

`x ... \n'
     Device control.

`DC X...\n'

automatically generated by info2www version 1.2.2.9