Posted by Jerry Stuckle on 05/29/07 14:53
Lorenzo Thurman wrote:
> I keep getting this error when trying to use fonts with Image_Graph:
>
> [29-May-2007 08:35:53] PHP Fatal error: Call to undefined function:
> imagettfbbox() in /usr/local/lib/php/Image/Canvas/GD.php on line 1240
>
> After Googling the error, it seems that I was missing Freetype support.
> I've installed Freetype and rebuilt PHP with Freetype support, but I
> still get the same error. I look at the output from phpinfo() and I see
> that PHP was compiled with this switch:
> --with-freetype-dir=/usr/local/lib'
>
> But I don't see anymore references to Freetype in the phpinfo output.
> Shouldn't there be more references to Freetype? Am I missing something
> else?
> Please help TIA
You should see it in the "gd" section, things like:
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|