#15405 [Com]: anti-aliasing switch (-$color) is wack in ImageTTFText
| From: | yvan dot taviaud at m4am dot net | Date: | Sun, 07 Dec 2003 18:28:23 +0000 |
| Subject: | #15405 [Com]: anti-aliasing switch (-$color) is wack in ImageTTFText | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51785@lists.php.net to get a copy of this message | ||
ID: 15405
Comment by: yvan dot taviaud at m4am dot net
Reported By: mrowe at pointsystems dot com
Status: Bogus
Bug Type: GD related
Operating System: Linux
PHP Version: 4.1.1
New Comment:
Still Bogus in GD 2.0.15. The negative index makes text really strange,
some kind of raw text antialiased and then the antialias is removed,
leaving a lot of strange pixels everywhere (instead of not doing
anything ;o).
Any clues ?
>> http://www.lacoccinelle.net/test/index.php for a graphical
>> example
Previous Comments:
------------------------------------------------------------------------
[2002-02-06 16:53:32] mfischer@php.net
Yeah it's cool, isn't it? It's even documented:
http://www.php.net/manual/en/function.imagettftext.php
------------------------------------------------------------------------
[2002-02-06 16:53:30] mfischer@php.net
Yeah it's cool, isn't it? It's even documented:
http://www.php.net/manual/en/function.imagettftext.php
------------------------------------------------------------------------
[2002-02-06 15:00:28] mrowe at pointsystems dot com
i'm using v2.0.1 of gd.
when i run:
ImageTTFText($image, $size, $rot, $stringX, $stringY, $white, $font,
$msg);
The text is white.
when i run:
ImageTTFText($image, $size, $rot, $stringX, $stringY, -$white, $font,
$msg);
(note the "-" in front of the color), the text is not white. it's
sometimes yellow, sometimes grey, but never white.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15405&edit=1