ID: 26635 Updated by: [EMAIL PROTECTED] Reported By: choinet at rocketmail dot com -Status: Open +Status: Feedback Bug Type: *Graphics related Operating System: Windows XP PHP Version: 4.3.4 New Comment:
if you add echo getcwd(); to your script, what directory does it show? Previous Comments: ------------------------------------------------------------------------ [2003-12-16 16:49:08] choinet at rocketmail dot com After checking, I determined that the problem with opening the fontfile in the PHP 5 CVS version of imagettftext() occurs on both Apache 1 and 2 (both sapi modules). ------------------------------------------------------------------------ [2003-12-16 16:25:42] [EMAIL PROTECTED] Are you using php as CGI? ------------------------------------------------------------------------ [2003-12-16 16:17:45] choinet at rocketmail dot com I just downloaded both the PHP 5 CVS (Built On: Dec 16, 2003 19:30 GMT) and the Stable 4.3 (Built On: Dec 16, 2003 17:30 GMT) from snaps.php.net, and neither one seems to have fixed the problem. Now, imagettftext and imagettfbbox don't seem to accept even the absolute pathname to the fontfile. I did use the php4apache2.dll from the beta 2 release of PHP 5 for the CVS version, since the CVS version was missing it. ------------------------------------------------------------------------ [2003-12-15 15:31:27] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-12-15 14:56:55] choinet at rocketmail dot com Eh, actually, I should add that in the summertime, I must have used the path c:\Apache\htdocs\arial.tff for the fontfile, so that is why it worked before in the summertime. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26635 -- Edit this bug report at http://bugs.php.net/?id=26635&edit=1