On Sat, 9 Oct 2004 23:33:46 -0500, Brent Clements <bclem@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > Does anybody know off the top of their head why truetype font text would look greyed out? > > This is my code: > > <?php > > $im = @imagecreatefromgif("testimage.gif"); > $myfont = "inc/arial.ttf"; > $mycolor = imagecolorallocate($im,0,0,0); Try imagecolorresolve() here instead. > imagettftext($im, 8, 0, 580, 118, $mycolor, $myfont, "test string"); > > imagejpeg($im); > imagedestroy($im); > > ?> > > The text looks greyed out and it's a bit distorted. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php