ID: 26635 Updated by: [EMAIL PROTECTED] Reported By: choinet at rocketmail dot com -Status: Open +Status: Closed Bug Type: GD related Operating System: Windows XP PHP Version: 4CVS-2003-12-16 New Comment:
Using latest STABLE CVS (PHP 4.3.5-dev) this works just fine. You should cleanup your machine out of all existing php related files, e.g. php4ts.dll and get the latest snapshot. Previous Comments: ------------------------------------------------------------------------ [2003-12-17 17:56:28] choinet at rocketmail dot com I just checked using PHP5 CVS (Built On: Dec 17, 2003 19:30 GMT), and relative paths ('./arial' and 'arial') do work, but only without the '.ttf' file extension. For example, 'arial.ttf' as the fontfile argument does not work. Absolute paths to the fontfile still do not work, neither in the MS-DOS naming convention ('C:\Progra~1\Apache~1\Apache2\htdocs\arial.ttf') nor in the general way ('C:\Program Files\Apache Group\Apache2\htdocs\arial.ttf'). ------------------------------------------------------------------------ [2003-12-17 11:16:21] [EMAIL PROTECTED] if arial.ttf is inside C:\Program Files\Apache Group\Apache2\htdocs it will try to open it. ------------------------------------------------------------------------ [2003-12-16 23:50:39] choinet at rocketmail dot com er wait, I get C:\Program Files\Apache Group\Apache2\htdocs (without the trailing backslash) ------------------------------------------------------------------------ [2003-12-16 23:49:41] choinet at rocketmail dot com I get C:\Program Files\Apache Group\Apache2\htdocs\ ------------------------------------------------------------------------ [2003-12-16 18:37:27] [EMAIL PROTECTED] if you add echo getcwd(); to your script, what directory does it show? ------------------------------------------------------------------------ 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