Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/04/2005, 16:08
anebg
 
Fecha de Ingreso: junio-2004
Mensajes: 28
Antigüedad: 19 años, 10 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 ($im255255255); // fondo blanco
$text_color imagecolorallocate ($im00,0);//letras negras
imagestring ($im$font00,  $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"