The TrueType PostScript Driver
Prev | Chapter 6. The PLplot Output Driver Family | Next

## The TrueType PostScript Driver

This is a PostScript driver that supports TrueType fonts. This allows access to a far greater range of fonts and characters than is possible using Type 1 PostScript fonts (see the section called “The PostScript Driver”). It is the driver to use for generating publication quality output using PLplot. The driver provides two devices: the ps-ttf device for black-and-white plots and the ps-ttfc device for color plots.

The driver requires the LASi (v1.0.5), pango and pangoft2 libraries to work. The pango and pangoft2 libraries are widely distributed with most Linux distributions and give the psttf driver full complex text layout (CTL) capability (see http://plplot.sourceforge.net/examples.php?demo=24 for an example of this capability). The LASi library is not part of most distributions at this time. The source code can be downloaded from http://www.unifont.org/lasi/. The library is small and easy to build and install. Make sure you use LASi-1.0.5. The psttf device driver uses new capabilities in this version of LASi and no longer works with LASi-1.0.4.

The available driver options are:

- text: Use TrueType fonts for text (0|1); default 1

- color: Use color (0|1); default 1

- hrshsym: Use Hershey fonts for symbols (0|1); default 0

Prev | Up | Next
The PostScript Driver | Home | The LaTeX PostScript Driver