fontpath

type: string, default: <system-dependent>

Directory list used by libgd to search for bitmap fonts if Graphviz was not built with the fontconfig library.

If fontpath is not set, the environment variable DOTFONTPATH is checked.

If DOTFONTPATH is not set, GDFONTPATH is checked.

If GDFONTPATH not set, libgd uses its compiled-in font path.

Note that fontpath is an attribute of the root graph.

Valid on:
  • Graphs
Last modified June 26, 2021 : Make attribute defaults code blocks (98194b2)