#20771 [NEW]: imagettftext() fails without errors
| From: | marc at resiteit dot com | Date: | Mon, 02 Dec 2002 20:48:45 +0000 |
| Subject: | #20771 [NEW]: imagettftext() fails without errors | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-26420@lists.php.net to get a copy of this message | ||
From: marc@resiteit.com
Operating system: RH 8.0
PHP version: 4.2.2
PHP Bug Type: GD related
Bug description: imagettftext() fails without errors
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 bug report at http://bugs.php.net/?id=20771&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20771&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20771&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20771&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20771&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20771&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20771&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20771&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20771&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20771&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20771&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20771&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20771&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20771&r=isapi