|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-22 21:47 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 15:00:02 2025 UTC |
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.