Bug #15913 Updated: imagettftext will not work
| From: | edink@php.net | Date: | Fri, 07 Jun 2002 11:41:00 +0000 |
| Subject: | Bug #15913 Updated: imagettftext will not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9741@lists.php.net to get a copy of this message | ||
ID: 15913
Updated by: edink@php.net
Reported By: shakad@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Windows2000
PHP Version: 4.1.1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-04-16 07:12:37] Jouser@attbi.com
I think this might be why ImageTTFtext from the Image Functions does
not
work when using GD 2.0.0 or higher (php_gd2.dll). If you use php_gd.dll
this
function works but the GD library doesn't support true color support.
If you
want true color support you have to use php_gd2.dll but then this
function
doesnt work. Anyone experiencing the same problem? Could anyone
recompile
the php_gd2.dll with Freetype and see if this is the problem?
Does anyone know if the same person who compiled php_gd.dll also
compiled php_gd2.dll?
I think the problem might be that whoever compiled the php_gd2.dll
that
ships with PHP forgot to compile FreeType library while compiling GD.
This is only a guess because I heard someone say that ImageTTFtext
works
on unix machines which leads me to believe this is the problem. I
would
test it myself but I don't know how to compile the file :-(
------------------------------------------------------------------------
[2002-03-13 05:02:21] apz@iname.com
Tghis describes the same bug as I mentioned in Bug #14876...
------------------------------------------------------------------------
[2002-03-11 19:33:53] sam@samandkristen.com
I get strange errors like the following:
PHP Warning: ¸/ª in c:\myfiles\websites\skin\functions.php on line 88
PHP Warning: /ª in c:\myfiles\websites\skin\functions.php on line 79
PHP Warning: h/ª in c:\myfiles\websites\skin\functions.php on line 79
when trying to call:
ImageTTFText ($im, 13, 0, 12, 14, $nav_text_off, $navFontPath,
$navText);
where $navFontPath is:
$navFontPath = "/skin/fonts/".$navFont.".ttf";
Where /skin is in my webroot. Please help!!!
I am running Apache on Win2000 with PHP 4.1.1 and php_gd2.dll
------------------------------------------------------------------------
[2002-03-06 15:30:08] shakad@yahoo.com
imagettftext does not work when using php_gd2.dll with PHP 4.1.1.
The function works fine when using gd_dll with PHP4.1.1.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15913&edit=1