ID: 20771 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: GD related Operating System: RH 8.0 PHP Version: 4.2.2 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. This bug was fixed in latest CVS as was indicated by Derick, please do not re-open it unless it does not work in latest CVS. Previous Comments: ------------------------------------------------------------------------ [2002-12-03 15:50:16] [EMAIL PROTECTED] I was afraid you'd say that. I'll have to try that on a dev box... I'm trying to stick with Redhat up2date on my live servers. Do you think it's a problem with 4.2.2 ? ------------------------------------------------------------------------ [2002-12-02 14:49:23] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-02 14:48:45] [EMAIL PROTECTED] This works on 4.0.4pl1 and 4.0.5 but not on my new RH 8.0 build with 4.4.2: phpinfo() is at http://www.resiteit.com/phpinfo.php $im = imagecreate (400, 30); $black = imagecolorallocate ($im, 0, 0, 0); $white = imagecolorallocate ($im, 255, 255, 255); imagettftext ($im, 20, 0, 10, 20, $white, "../fonts/arialbd.ttf", "Testing...Omega: Ω"); imagepng ($im); imagedestroy ($im); On the new build, I just get the black bar. Unfortunately no errors. Interesting to note that the function doesn't return the bounding box array either. Any ideas? -- Thanks! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20771&edit=1