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

Posted by Lorenzo Thurman on 05/29/07 13:44

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

 

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

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