#20771 [Opn->Fbk]: imagettftext() fails without errors

From: Date: Mon, 02 Dec 2002 20:49:23 +0000
Subject: #20771 [Opn->Fbk]: imagettftext() fails without errors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26421@lists.php.net to get a copy of this message
ID: 20771 Updated by: derick@php.net Reported By: marc@resiteit.com -Status: Open +Status: Feedback Bug Type: GD related Operating System: RH 8.0 PHP Version: 4.2.2 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-12-02 14:48:45] marc@resiteit.com 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

« previous php.bugs (#26421) next »