PostScript Procedures for Font Selection

SUMMARY:

These character vectors provide the PostScript language code use for selecting a new font in the output produced by the PostScript printer driver. The default value for the setfont option to ps.options is a copy of the ps.setfont.latin1 dataset.

The primary use of changing the setfont option is to select a different font "encoding vector". The default ps.setfont.latin1 dataset is used to cause each font to be encoded using the ISOLatin1Encoding PostScript vector which has been altered so that the "bullet" character is at position 200 (octal). This changes the "standard" fonts to use the ISO Latin-1 (ISO 8859-1, ECMA-94) character set. It does not alter the encoding for the "nonstandard" fonts "Symbol", "ZapfChancery-MediumItalic", and "ZapfDingbats" (you may edit the PostScript array called NonStdFonts in ps.setfont.latin1 to change this).

ps.setfont.std gives the PostScript standard encoding. This was the default in Splus prior to version 6.1 and you may use it to get various graphic and alphabetic symbols in positions 200-377 (octal).

If you change the font encoding you should change the definition of the "bullet" character using bullet=ps.bullet.std or bullet=ps.bullet.latin1, since the bullet is at differnet positions in the 2 encodings.

REFERENCES:

Adobe Systems, Inc. (1990). PostScript Language Reference Manual, second edition. Addison-Wesley, Reading, Massachusetts.

SEE ALSO:

EXAMPLES:

# Setup for European usage. 
ps.options (paper="A4", setfont=ps.setfont.latin1)