NYCPHP Meetup

NYPHP.org

[nycphp-talk] GD imagettftext font problem

Cliff Hirsch cliff at pinestream.com
Tue Mar 21 16:48:15 EST 2006


I am trying to build a graph and get the following error on my new Linux
server: 

ERRNO: 2 
TEXT: imagettftext() [function.imagettftext]: Could not find/open font 

This is the output of phpinfo:
GD Support enabled 
GD Version bundled (2.0.28 compatible) 
FreeType Support enabled 
FreeType Linkage with freetype 
FreeType Version 2.1.9 
T1Lib Support enabled 
GIF Read Support enabled 
GIF Create Support enabled 
JPG Support enabled 
PNG Support enabled 
WBMP Support enabled 
XBM Support enabled

I assume my instal can't find the fonts. What path setting should I be
changing. What does the font file look like so I can see if it's
installed on the system?

Cliff




More information about the talk mailing list