(a2ps.info)Definition of the faces


Next: Prologue File Format Up: Designing PostScript Prologues
Enter node , (file) or (file)node

8.6.1 Definition of the faces
-----------------------------

There are three things that define a face:
_Its font_
     You should never call the font by yourself, because sometimes a2ps
     may decide that another font would be better.  This is what happens
     for instance if a font does not support the encoding you use.

     Hence, never set the font by yourself, but ask a2ps to do it.  This
     is done through a line:
          %Face: FACE REAL-FONT-NAME SIZE

     This line tells a2ps that the font of FACE is REAL-FONT-NAME.  It
     will replace this line by the correct PostScript line to call the
     needed font, and will do everything needed to set up the font.

     The size of the text body is 'bfs'.

_Its background color_
     There are two cases:
       1. You want a background color, then give the "RGB" (Note: Colors
          in PostScript) ratio and 'true' to 'BG':
               0.8 0.8 0 true BG

       2. You don't want a background color, then call 'BG' with
          'false':
               false BG

_Its foreground color_
     As 'BG', call 'FG' with an "RGB" ratio:
          0 0.5 0 FG

_Its underlining_
     'UL' requires a boolean argument, depending whether you want or not
     the current face to be underlined.
          true UL

_Its boxing_
     Requiring a boolean, 'BX' let's a face have a box drawn around.


automatically generated by info2www version 1.2.2.9