Credits Overview Plotting Styles Commands Terminals

fontpath

Syntax:

      set fontpath "/directory/where/my/fonts/live"
      set term postscript fontfile <filename>

[DEPRECATED in version 5.4]

The fontpath directory is relevant only for embedding fonts in postscript output produced by the postscript terminal. It has no effect on other gnuplot terminals. If you are not embedding fonts you do not need this command, and even if you are embedding fonts you only need it for fonts that cannot be found via the other paths below.

Earlier versions of gnuplot tried to emulate a font manager by tracking multiple directory trees containing fonts. This is now replaced by a search in the following places: (1) an absolute path given in the set term postscript fontfile command (2) the current directory (3) any of the directories specified by set loadpath (4) the directory specified by set fontpath (5) the directory provided in environmental variable GNUPLOT_FONTPATH

Note: The search path for fonts specified by filename for the libgd terminals (png gif jpeg sixel) is controlled by environmental variable GDFONTPATH.