Bug #16087 Updated: Could not find/open font

From: Date: Fri, 15 Mar 2002 00:20:41 +0000
Subject: Bug #16087 Updated: Could not find/open font
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2532@lists.php.net to get a copy of this message
ID: 16087 Updated by: rasmus@php.net Reported By: mvc_aaa@yahoo.com -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] mvc_aaa@yahoo.com 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

« previous php.bugs (#2532) next »