Bug #15913 Updated: imagettftext will not work
| From: | Jouser at attbi dot com | Date: | Tue, 16 Apr 2002 11:12:38 +0000 |
| Subject: | Bug #15913 Updated: imagettftext will not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5100@lists.php.net to get a copy of this message | ||
ID: 15913
Updated by: Jouser@attbi.com
Reported By: shakad@yahoo.com
Status: Open
Bug Type: GD related
Operating System: Windows2000
PHP Version: 4.1.1
New Comment:
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 :-(
Previous Comments:
------------------------------------------------------------------------
[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