Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/04/2005, 18:55
Avatar de aristotelisco
aristotelisco
 
Fecha de Ingreso: marzo-2005
Ubicación: Oxnard CA USA
Mensajes: 151
Antigüedad: 21 años, 7 meses
Puntos: 0
Fuentes

Mira, yo pude hacer que se viera un poco mas grande, pero tuve que cambiar la fuente que tu usas por una predefinida por PHP. El código quedó así:

Código PHP:
<?php 
header 
("Content-type: image/png"); 
$string = "Alex was here";                                              
$font  = 5; 
$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); 
?>
Para lo que tu quieres ahcer, parece que necesitas usar otra función,

Código PHP:
imageloadfont() 
, pero no estoy seguro de como usarla.

Podrias tratar con
Código PHP:
$font = imageloadfont("tu_fuente"); 
Ojalá sirva de algo.
__________________
Atte:
Alex Reyes

www.alexreyes.net