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