Koristim php gd libary za ispisivanje texta na slici ali funkcija Imagettftext ne radi.
evo ga kod
<?php
header ("Content-type: image/png");
$fontname='DroidSans.ttf';
$handle = ImageCreate (130, 50) or die ("Cannot Create image");
$bg_color = ImageColorAllocate ($handle, 255, 0, 0);
$txt_color = ImageColorAllocate ($handle, 0, 0, 0);
imagettftext($handle, 5, 5, 18,$fontname, "PHP.About.com", $txt_color);
ImagePng ($handle);
?>