Image_Graph - missing fonts! (Pear/PHP/Apache)
| From: | Martin Johnson | Date: | Sat, 03 Jan 2004 18:20:25 +0000 |
| Subject: | Image_Graph - missing fonts! (Pear/PHP/Apache) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9934@lists.php.net to get a copy of this message | ||
Hello,
I've installed Image_Graph with Pear, under FreeBSD/Apache/PHP. The
Image_Graph examples sample_simple1.php / sample_complex1.php display
graphics, but no text!
Please could someone give me an idea about where to get fonts from?
My Apache log is saying:
[client 192.168.0.2] PHP Warning: imagettfbbox(): Could not find/open font in
/usr/local/share/pear/Image/Text/Line.php on line 204, referer: http://server/PearDocs/Image_Graph/docs/
[client 192.168.0.2] PHP Warning: imagettftext(): Could not find/open font in
/usr/local/share/pear/Image/Text/Line.php on line 95, referer: http://server/PearDocs/Image_Graph/docs/
[client 192.168.0.2] PHP Notice: Undefined index: containsData in
/usr/local/share/pear/Image/Graph.php on line 795, referer: http://server/PearDocs/Image_Graph/docs/
Many thanks for any help!
- Martin Johnson.