Bug #16087: Could not find/open font
| From: | mvc_aaa at yahoo dot com | Date: | Fri, 15 Mar 2002 00:06:32 +0000 |
| Subject: | Bug #16087: Could not find/open font | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2531@lists.php.net to get a copy of this message | ||
From: mvc_aaa@yahoo.com
Operating system: Linux RedHat 6.2
PHP version: 4.1.2
PHP Bug Type: GD related
Bug description: Could not find/open font
Code:
Header ("Content-type: image/png");
$im = imagecreate (400, 30);
$black = ImageColorAllocate ($im, 0, 0, 0);
$white = ImageColorAllocate ($im, 255, 255, 255);
ImageTTFText ($im, 20, 0, 10, 20, $white, "./arial.ttf",
"Testing... Omega: Ω");
ImagePNG ($im);
ImageDestroy ($im);
As Result:
Warning: Could not find/open font in
/home/denis/public_html/rambler/test2.php on line 8
Warning: Could not find/open font in
/home/denis/public_html/rambler/test2.php on line 12
As i known, this is a old bug with all prev. versions, please fix it. (and
in 4.1.3-devCVS too)...
--
Edit bug report at http://bugs.php.net/?id=16087&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16087&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16087&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16087&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16087&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16087&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16087&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16087&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16087&r=submittedtwice