From: [EMAIL PROTECTED]
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