You are here: Re: Image_Graph and Freetype support « PHP Programming Language « IT news, forums, messages
Re: Image_Graph and Freetype support

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация