Bug #18455 Updated: Turning off TTF antialiasing not working
| From: | sniper@php.net | Date: | Tue, 23 Jul 2002 01:47:31 +0000 |
| Subject: | Bug #18455 Updated: Turning off TTF antialiasing not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14842@lists.php.net to get a copy of this message | ||
ID: 18455
Updated by: sniper@php.net
Reported By: ja@michbak.com
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Debian Woody Stable
PHP Version: 4.1.2
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
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-07-21 09:41:46] ja@michbak.com
I cannot switch off antialiasing when drawing TTF fonts on TrueColor
images.
$im = @ImageCreateTrueColor($width, $height);
$cWhite = ImageColorAllocate($im, 255, 255, 255);
$cBlack = ImageColorAllocate($im, 0, 0, 0);
ImageFilledRectangle($im, 0, 0, $width-1, $height-1, $cWhite);
// ...
ImageTTFText($im, $fontSize, 0, $tx, $ty, -$cBlack, $fontFile,
$lines[$i]);
In PHP 4.0.3 it worked correctly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18455&edit=1