Text output in PAW (font/precision and characters graphical view)


The text aspect in PAW is controlled with two parameters:

  1. The text font: selects among possible character shapes, as a roman font, a sans-serif font, etc.

  2. The text precision: specifies how closely PAW must follow the current size and orientation attributes.
    PAW > SET TFON ffp  | Title FONT (ff) and PREC (p)
    PAW > SET GFON ffp  | Global title FONT (ff) and PREC (p)
    PAW > SET VFON ffp  | axis Values FONT (ff) and PREC (p)
    PAW > SET LFON ffp  | axis Labels FONT (ff) and PREC (p)
    PAW > SET CFON ffp  | Comment FONT (ff) and PREC (p)
    PAW > SET *FON ffp  | Set the same values for all

    PAW > SET TXFP ffp  | ITX FONT (ff) and PREC (p)
 

Example:

    PAW > SET *FON -60  | the all the font to -6 (Helvetica-Bold) and all
                        | the precision to 0.
 

The possible PostScript fonts are:

Font 0 with the precision 2 is the Software HIGZ font:

The following table gives all the Postscript characters available in PAW. Note the Euro symbol is there (\360 in greek or special):

The possible precisions are:

Precision number

Effect

0

The font used on screen and on Postscript file are the same. On the screen the text is rotated and aligned but, for speed purpose, the size used is the available on the machine. The control characters special characters are not interpreted on the screen but are interpreted on the PostScript output.

1

The font used on the screen is the HIGZ-Software and on PostScript the one selected. So, on the screen the text is rotated, aligned and scaled correctly, the control are interpreted but the font used doesn't look like the one used on the PostScript output.

2

The font used on screen and on Postscript output are the same. On the screen the text is rotated, aligned and correctly scaled, the control characters are NOT interpreted but the font used looks like the one used on the PostScript output.

In addition to the character font and precision, the text aspect can be modified via a set of control characters. These characters are embedded into the characters strings and are interpreted according to the rules defined in the HIGZ-software font table.

List of escape characters and their meaning
< go to lower case (optional) > go to upper case (optional)
[ go to greek (Roman = default) ] end of greek
" go to special symbols # end of special symbols
~ go to ZapfDingbats # end of ZapfDingbats
^ go to superscript ? go to subscript
! go to normal level of script & backspace one character
$ termination character (optional) @ escape

Example:

       For/File 44 paw.ps
       Meta 44 -111
       Size 40 20
       Next
       Sel 1
       Set CHHE 1
       Set TXFP -11
       Itx 0.2 1. 'L?em! = e J^[m]?&em! A?[m]! , J^[m]?&em!=l&^\261![ g?m]!l , M^j?&i! = [\345&?a]! A?[a! t^a]j?&i! '
       Set TXFP -10
       Itx 0.2 3.5 'L?em! = e J^[m]?&em! A?[m]! , J^[m]?&em!=l&^\261![ g?m]!l , M^j?&i! = [\345&?a]! A?[a! t^a]j?&i! '
       Close 44
 

The output on the screen is the following. Note that the 'octal characters' like \261 or \345 are never translated whatever the precision is.

The output on the PostScript file is the same with precision 0 or 1.

Note: If the text output is produced with the command TEXT instead of ITX the font and precision used is always 0, 2.


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch