Hi, Wednesday, December 10, 2003, 11:53:27 AM, you wrote: c> G'day all c> I was wandering I have php installed with GD with freetype fonts compiled in c> I ran this php script c> <?php c> header("Content-type: image/gif"); c> $im = imagecreate(400,30); c> $white = imagecolorallocate($im, 255,255,255); c> $black = imagecolorallocate($im, 0,0,0); c> // Replace path by your own font path c> imagettftext($im, 20, 0, 10, 20, $black, "./arial", "Testing... Omega: c> &#937;"); c> imagegif($im); c> imagedestroy($im); ?>>
c> and nothing gets displayed on the screen. c> Also if i right click in the top right hand corner and click properties the c> type is gif image. c> Can any one tell me what I should double check and what to look for. c> As I am getting no errors messages, I guess that means that free type fonts c> support is installed correctly? or please correct me if im wrong. Depending on where gd came from you may not be able to create gif files only read them. Try generating a png or jpeg -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php