ID: 29192 Updated by: [EMAIL PROTECTED] Reported By: frank at envirge dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: Fedora PHP Version: 5.0.0 -Assigned To: +Assigned To: pajoye New Comment:
Cannot reproduce (head and php4). Check that you do not use the external lib header or library. Bogus for now. --Pierre Previous Comments: ------------------------------------------------------------------------ [2004-07-15 23:42:23] frank at envirge dot com Description: ------------ I just compiled PHP 5.0.0 release with: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl --with-zlib --with-gd=/usr/local --with-ttf --with-mcrypt --with-mhash --with-mysql --with-curl --without-sqlite --with-pear --enable-bcmath --enable-calendar --enable-gd-native-ttf --enable-soap --with-freetype-dir=/usr/lib I tried to run some ttf button making scripts that were funcional on a previous installation of PHP (4.3.x I believe), however in 5.0.0 the images weren't appearing because imagettfbbox() was returning impossibly high and low values for all of the y values on the array elements for the y values of the text box. I thought the problem might be with the GD library, so I installed PHP and pointed it to my local GD library (I'm running the latest release) as well as my local libjpeg and libpng. This solved the problem, so I am pretty sure that the cause lies within the GD library bundled with 5.0.0. Here is my configuration that solved the problem: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl --with-zlib --with-gd=/usr/local --with-ttf --with-mcrypt --with-mhash --with-mysql --with-curl --without-sqlite --with-pear --enable-bcmath --enable-calendar --enable-gd-native-ttf --enable-soap --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib I would really like to help. Please let me know how. Frank Reproduce code: --------------- I have a better explaination with sources, and results at this link: http://www.envirge.com/frank/php_bug/ Expected result: ---------------- I have a better explaination with sources, and results at this link: http://www.envirge.com/frank/php_bug/ Actual result: -------------- I have a better explaination with sources, and results at this link: http://www.envirge.com/frank/php_bug/ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29192&edit=1
