#26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
From: choinet at rocketmail dot com Date: Fri, 19 Dec 2003 00:55:36 +0000 Subject: #26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-52273@lists.php.net to get a copy of this message
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] sniper@php.net
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] iliaa@php.net
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
Thread (26 messages)
- #26635 [Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Fbk]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Fbk->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Fbk]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Fbk->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Fbk]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Fbk->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Csd->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Bgs]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Bgs]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Bgs->Opn]: imagettfbbox() & imagettftext() fontfile does not allow relative path
- #26635 [Opn->Csd]: imagettfbbox() & imagettftext() fontfile does not allow relative path
| « previous | php.bugs (#52273) | next » |
|---|