note 45816 added to function.imagettftext
| From: | PaulReinheimer at osu1 dot php dot net | Date: | Mon, 20 Sep 2004 10:33:00 +0000 |
| Subject: | note 45816 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77040@lists.php.net to get a copy of this message | ||
If you compiled PHP yourself but get an error:
Fatal error: Call to undefined function imagettftext().
You need to compile PHP with more options.
--with-gd
--enable-gd-native-ttf
--with-png
--with-zlib-dir=/usr/local/lib/zlib-1.2.1
--with-ttf
--with-jpeg-dir=/usr/local/lib/jpeg-6b/
--with-freetype-dir=/usr/local/lib/freetype-2.1.9/
--with-xpm-dir=/usr/X11R6/
The next set deal with setting up GD, and the appropriate options. Just enabling GD, ttf, png &
jpeg is NOT enough. You also need Freetype and XPM.
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45816
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45816&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45816&report=yes
Search -- http://master.php.net/manage/user-notes.php