The psttf driver
Prev | Chapter 5. Drivers which implement file devices | Next

## The psttf driver

This is a PostScript driver that supports TrueType fonts. This allows access to a far greater range of glyphs than is possible using Type 1 PostScript fonts (see the section called “The ps driver”). The driver provides two devices: the psttf device for black-and-white plots and the psttfc 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.org/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 https://sourceforge.net/projects/lasi/files/lasi/. The library is small and easy to build and install.

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 ps driver | Home | The pdf driver