fontpath

Directory list used by libgd to search for bitmap fonts

type: string, default: <system-dependent>

Used 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

Search the Graphviz codebase for "fontpath"

Last modified September 17, 2022: Update fontpath.md: add description (41116ab)