Tengo este pequeño pero magico codigo:
Código PHP:
<?php
$getext = ($_GET['text']);
$getimg = ($_GET['fondo']);
header("Content-type: image/png");
$im = @imagecreatefromjpeg($getimg)
or die("Error");
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 255, 255, 255);
imagestring($im, 8, 7, 3, $getext, $text_color);
imagepng($im);
imagedestroy($im);
?>
Donde el texto y fondo (osea la imagen que se carga), se obtiene asi:
img.php?text=texto&fondo=archivo.jpg
Bueno, eso no es el problema y seguro que alguno ya dijo,
![Riendo](http://static.forosdelweb.com/fdwtheme/images/smilies/risa.png)
este novato...
Pues si, soy nov... el chiste es que me gustaria saber como le puedo agregar una fuente para el texto.
Con un archivo .ttf
Se que aqui hay muchos genios, les agradezco su ayuda.