ID: 16087
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Linux RedHat 6.2
PHP Version: 4.1.2
New Comment:
Use a full path. Font handling was changed in GD along the way, so if
you insist that it is a bug, report it to the GD people, not us.
Previous Comments:
------------------------------------------------------------------------
[2002-03-14 19:06:31] [EMAIL PROTECTED]
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 this bug report at http://bugs.php.net/?id=16087&edit=1