Bug #775 Updated: Function ImageTTFText( ) seems to antialias colours incorrectly

From: Date: Mon, 28 Sep 1998 23:56:12 +0000
Subject: Bug #775 Updated: Function ImageTTFText( ) seems to antialias colours incorrectly
Groups: php.dev 
Request: Send a blank email to php-dev+get-1538@lists.php.net to get a copy of this message
ID: 775 User Update by: ccjust@prentice.uq.edu.au Status: Open Bug Type: Misbehaving function Description: Function ImageTTFText( ) seems to antialias colours incorrectly This provides additional info and code to in relation to BUG #720 Version of PHP -- All Versions including PHP 3.04 Win32 The latest freetype.dll which came with PHP 3.04 Win32 The latest php3_gd.dll which came with PHP 3.04 Win32 The script below shows the bugs behaviour http://void.cc.uq.edu.au/cameron/imagephp/list.html Each of the imagecreation files has the following code. <? Header("Content-type: image/gif"); $im = imagecreate(400,100); $white = ImageColorAllocate($im, 204,204,204); $black = ImageColorAllocate($im, 40,40,40); ImageTTFText($im, 48, 0, 32, 64, $black, "c:\windows\fonts\verdana.ttf", "yadda yadda"); ImageGif($im); ImageDestroy($im); ?> where the colours are indicated in the filename. I don't know whether it's the freetype.dll or the function. It just looks like the antialiasing is going outa whack. I have tested this on a linux system and it works perfectly, no sign of any problems. Full Bug description available at: http://ca.php.net/bugs.php3?id=775 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1538) next »