From: gfrank at neoservers dot com Operating system: Linux 2.6.20 PHP version: 4.4.6 PHP Bug Type: GD related Bug description: Use of newer GD install prevents text functions from working.
Description: ------------ When using the latest stable release of GD 2.0.34 instead of the bundled version, functions which require text generate an error. The issue was present on not just the provided code below but on every single piece of code we had that used ANY function that accessed a font. It claims the font didn't exist or couldn't be opened. As soon as we went back to the bundled GD, it started working again. I'm not sure if this is an issue with PHP not being compatible with the newer GD or if this is a bug in GD. Configure String: ./configure --prefix=/usr --libdir=/usr/lib64 --localstatedir=/var/lib/php --with-apxs2=/usr/apache/bin/apxs --with-zlib-dir=/usr --with-bz2=/usr --enable-calendar --with-jpeg-dir=/usr --enable-ftp --with-gd=/usr --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-png-dir=/usr --with-gettext=/usr --with-mysql=/usr --with-curlwrappers --enable-sockets --enable-versioning --enable-track-vars --enable-trans-sid --enable-bcmath --enable-mbstring --disable-debug --enable-sysvshm --enable-sysvsem --enable-shmop Reproduce code: --------------- http://www.animeforum.com/jakiao/code.phps Expected result: ---------------- http://www.tuxeodmask.com/sig/blah.html (the images beneath "back to list" and above "Hi Bob") Actual result: -------------- PHP Warning: imagettfbbox(): Could not find/open font in /home/kaitou/tuxedomask.com/sig/sig2.jpg on line 150 Warning: imagettfbbox(): Could not find/open font in /home/kaitou/tuxedomask.com/sig/sig2.jpg on line 150 PHP Warning: imagettftext(): Could not find/open font in /home/kaitou/tuxedomask.com/sig/sig2.jpg on line 161 Warning: imagettftext(): Could not find/open font in /home/kaitou/tuxedomask.com/sig/sig2.jpg on line 161 PHP Warning: imagettftext(): Could not find/open font in /home/kaitou/tuxedomask.com/sig/sig2.jpg on line 162 Warning: imagettftext(): Could not find/open font in /home/kaitou/tuxedomask.com/sig/sig2.jpg on line 162 PNG IHDR l©\V PLTE,[EMAIL PROTECTED] IDAc`ÀÍ+][IEND®B` -- Edit bug report at http://bugs.php.net/?id=40946&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40946&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40946&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40946&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40946&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40946&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40946&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40946&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40946&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40946&r=support Expected behavior: http://bugs.php.net/fix.php?id=40946&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40946&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40946&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40946&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40946&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40946&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40946&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40946&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40946&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40946&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40946&r=mysqlcfg