Skip to content

Instantly share code, notes, and snippets.

@eby
Created December 17, 2013 16:42
Show Gist options
  • Save eby/8008046 to your computer and use it in GitHub Desktop.
Save eby/8008046 to your computer and use it in GitHub Desktop.
php bundled gd default font paths
The font search path for GD (bundled with PHP) includes the following directories on Linux and similar systems:
/usr/X11R6/lib/X11/fonts/TrueType
/usr/X11R6/lib/X11/fonts/truetype
/usr/X11R6/lib/X11/fonts/TTF
/usr/share/fonts/TrueType
/usr/share/fonts/truetype
/usr/openwin/lib/X11/fonts/TrueType
from http://phplot.sourceforge.net/phplotdocs/conc-text.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment