Re: Image_Graph - missing fonts! (Pear/PHP/Apache)

From: Date: Sun, 04 Jan 2004 01:26:20 +0000
Subject: Re: Image_Graph - missing fonts! (Pear/PHP/Apache)
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9944@lists.php.net to get a copy of this message
Back from holiday finally :-)) Hi Martin, you need any regular TTF-fonts. I used one from a w**ndows-machine - but unfortunately due to copyright-problems I decided to not include the font in the release. So please simply use a ttf-font present on your system or grab one from anywhere you like. If you still got problems, please feel free to email me again. Regards, Stefan On 3 Jan 2004 at 18:20, Martin Johnson wrote: > 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!

« previous php.pear.general (#9944) next »