ID: 12778 Comment by: ssddgreg at email dot si Reported By: tim at motionpixels dot com Status: Bogus Bug Type: GD related Operating System: Linux Redhat 7.1 PHP Version: 4.0.6 New Comment:
Hi! I can not generate images in PHP with TTF fonts - my phpinfo file says the following: GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled What is "FreeType Linkage with freetype" - can I convert my TTF font to "freetype"? Please help Previous Comments: ------------------------------------------------------------------------ [2001-08-15 23:52:59] [EMAIL PROTECTED] RTFM: You have to pass the _full_ path to the font file. --Jani ------------------------------------------------------------------------ [2001-08-15 19:17:02] tim at motionpixels dot com I don't know whether it's just me but i keep getting this message when trying to use the 'ImageTTFText' function. I saw in another bug report that php-4.0.6 was the cause and that it was fixed in the CVS... i've tryed out php-4.0.7-dev but still no joy... everything seems to go fine during the compilation process... and phpinfo displays: GD Support - enabled GD Version - 2.0 or higher FreeType Support - enabled FreeType Linkage - with freetype JPG Support - enabled PNG Support - enabled WBMP Support - enabled i'm using apache_1.3.20, freetype-2.0.4 & gd-2.0.1, and have tried it both php-4.0.6 & php-4.0.7-dev using the following configure command: ./configure --with-apache=../apache_1.3.20 --with-mysql=/usr/local/mysql --with-gd --with-ming --enable-gd-native-ttf --with-freetype-dir=/usr/local/include/freetype2 --with-png-dir --with-jpeg-dir --with-zlib-dir --enable-track-vars --enable-trans-sid are you sure the CVS is ok? cheers tim ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12778&edit=1
