ID: 26635 User updated by: choinet at rocketmail dot com Reported By: choinet at rocketmail dot com -Status: Closed +Status: Open Bug Type: GD related Operating System: Windows XP -PHP Version: 4CVS-2003-12-16 +PHP Version: 4CVS-2003-12-18 New Comment:
I am now using the latest STABLE CVS, and I still encounter problems with using the full filename 'arial.ttf' in place of 'arial'. I do believe that this is a bug, because PHP 4.3.4 seems to accept either format on a Linux installation. The naming convention issue is still lingering for the STABLE CVS version, although I am not sure whether or not that is a PHP issue or one that is related to the filesystem, for the same problem occurs on Linux when the absolute path has spaces in it. Previous Comments: ------------------------------------------------------------------------ [2003-12-18 17:52:59] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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\ ------------------------------------------------------------------------ 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