`plfont`: Set font
Prev | Chapter 18. The Common API for PLplot | Next

#### `plfont`: Set font

`plfont (` | ifont`)`;

Sets the font used for subsequent text and symbols. For devices that still use Hershey fonts this routine has no effect unless the Hershey fonts with extended character set are loaded (see `plfontld`). For unicode-aware devices that use system fonts instead of Hershey fonts, this routine calls the `plsfci` routine with argument set up appropriately for the various cases below. However, this method of specifying the font for unicode-aware devices is deprecated, and the much more flexible method of calling `plsfont` directly is recommended instead (where `plsfont` provides a user-friendly interface to `plsfci`),

`ifont` (``PLINT``, input)

  Specifies the font:

  - `1`: Sans serif font (simplest and fastest)

  - `2`: Serif font

  - `3`: Italic font

  - `4`: Script font

Redacted form: `plfont(ifont)`

This function is used in examples 1, 2, 4, 7, 13, 24, and 26.

Prev | Up | Next
`plflush`: Flushes the output stream | Home | `plfontld`: Load Hershey fonts