#27693 [Com]: imagettftext() coupled with imagecreatetruecolor() displays yellow fonts.
| From: | cartoonlad at thesnakefarm dot com | Date: | Fri, 16 Apr 2004 00:35:17 +0000 |
| Subject: | #27693 [Com]: imagettftext() coupled with imagecreatetruecolor() displays yellow fonts. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58230@lists.php.net to get a copy of this message | ||
ID: 27693
Comment by: cartoonlad at thesnakefarm dot com
Reported By: xavier dot blanchet at free dot fr
Status: Bogus
Bug Type: GD related
Operating System: Linux
PHP Version: 4.3.4
New Comment:
So for those of us who are muddling around with configuring php for the
first time, what does that mean? Use --enable-gd-native-ttf in the
configure?
Previous Comments:
------------------------------------------------------------------------
[2004-04-05 11:01:35] derick@php.net
ttf = freetype 1, old and buggy
freetype = freetype 2, new, not buggy
So just compile PHP against the newer version, not a bug -> bogus.
------------------------------------------------------------------------
[2004-04-05 09:56:18] xavier dot blanchet at free dot fr
For me on Windows, it all works fine.
On Linux I cannot try the latest version before my hoster (OVH.com) has
migrated :-( But as I have already mentionned the beta version PHP5 (
http://240plan.ovh.net/test.beta )returns these same
yellow fonts.
However I noticed something interessting: each time i met someone in
forums, newsgroups... experiencing the same problem, the FreeType
Linkage in the phpinfo() was with "TTF Library". "with FreeType" is
ok...
------------------------------------------------------------------------
[2004-04-03 09:51:00] nlopess@php.net
I can't reproduce either with PHP 4.2.6RC2-dev.
I think the problem may be only with Unicode fonts, althought it works
for me.
------------------------------------------------------------------------
[2004-04-01 11:56:52] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
I am still unable to replicate the problem using the Arial
ttf font avaliable on my system. Please include your
configure line in your reply.
------------------------------------------------------------------------
[2004-04-01 07:47:13] xavier dot blanchet at free dot fr
I was hoping PHP 4.3.5 would resolve the bug, but as I tried the same
script on PHP Version 5.0.0b2 Beta ( http://240plan.ovh.net/test.beta )
and faced the same problem, i did not believe in a PHP version 4.3.5
working fine with ttf fonts... According to Sandeep, I was right :-(
------------------------------------------------------------------------
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/27693
--
Edit this bug report at http://bugs.php.net/?id=27693&edit=1