ID: 12875 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: any PHP Version: 4.0.6 New Comment: This is already fixed in CVS. Try the latest CVS snapshot: http://snaps.php.net/ Previous Comments: ------------------------------------------------------------------------ [2001-08-21 10:00:33] [EMAIL PROTECTED] GD's function gdImageStringTTF does not work with FreeType 2.x, gdImageStringFT should be used instead. gd 1.8.4 diff -u -r php-4.0.6.orig/ext/gd/gd.c php-4.0.6/ext/gd/gd.c --- php-4.0.6.orig/ext/gd/gd.c Tue Aug 21 15:34:47 2001 +++ php-4.0.6/ext/gd/gd.c Tue Aug 21 15:37:00 2001 @@ -2662,7 +2662,7 @@ fontname = (unsigned char *) Z_STRVAL_PP(FONTNAME); #ifdef USE_GD_IMGSTRTTF -# if HAVE_LIBGD20 & HAVE_LIBFREETYPE +# if HAVE_LIBFREETYPE error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); # else error = gdImageStringTTF(im, brect, col, fontname, ptsize, angle, x, y, str); ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12875&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]