Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/04/2005, 16:08
anebg
 
Fecha de Ingreso: junio-2004
Mensajes: 28
Antigüedad: 22 años, 3 meses
Puntos: 0
Información Creando una imagen con php.. problemas

Bueno, pues
estaba usando este codigo:
Código PHP:
<?php
header 
("Content-type: image/png");
$string = "anebg was here";                                             
$font  = "bitdust1.ttf";
$width  = ImageFontWidth($font) * strlen($string);
$height = ImageFontHeight($font);

$im = @imagecreate ($width,$height);
$background_color = imagecolorallocate ($im, 255, 255, 255); // fondo blanco
$text_color = imagecolorallocate ($im, 0, 0,0);//letras negras
imagestring ($im, $font, 0, 0,  $string, $text_color);
imagepng ($im);
?>
y pues enorabuena, me funciona, pero..
tengo un pequeño problemita..
como pueden ver aquí..:

el tamaño de la fuente está muy pequeño, alguien sabe como hacerlo mas grande sin tener que cambiar de font?
Gracias

Pd: La fuente se encuentra en "http://anebg.net/mcont/bitdust1.ttf"