Игорь
PHP. Текст на картинке, почему может не работать?
$im = imagecreatetruecolor(400, 30);
$white = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $white);
$text = 'Testing...';
$font = 'shrift.ttf';
imagettftext($im, 20, 0, 10, 20, $black, $font, $text);
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
нет со шрифтом все нормально,