Bug #11979: could not open ttf file

From: Date: Mon, 09 Jul 2001 14:30:57 +0000
Subject: Bug #11979: could not open ttf file
Groups: php.dev 
Request: Send a blank email to php-dev+get-59320@lists.php.net to get a copy of this message
From:             andrea@kelli.it
Operating system: WINDOWS 98
PHP version:      4.0.6
PHP Bug Type:     GD related
Bug description:  could not open ttf file 

<?
Header ("Content-type: image/png");
$im = @imagecreate (700, 30)or die ("no image crate !!!!!");
$black = ImageColorAllocate ($im, 50, 50, 50);
$white = ImageColorAllocate ($im, 255, 255, 255);

ImageTTFText ($im, 20, 0, 10, 20, $white, "arial.ttf","QUESTA E' UNA PAGINA
DINAMICA DI PROVA !!!")
or die ("something wrong !!!");

ImagePng($im);

?>


font is in the path !
win 98 
apache
mysql
-- 
Edit bug report at: http://bugs.php.net/?id=11979&edit=1



Thread (5 messages)

« previous php.dev (#59320) next »