Bug #11981: no ttf file open
| From: | andrea at kelli dot it | Date: | Mon, 09 Jul 2001 15:31:03 +0000 |
| Subject: | Bug #11981: no ttf file open | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59329@lists.php.net to get a copy of this message | ||
From: andrea@kelli.it
Operating system: win98
PHP version: 4.0.6
PHP Bug Type: GD related
Bug description: no ttf file open
<?
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
--
I try the full path ! but it doesn't work !
I try to reopen the the report 11969 but it doesn't work error with
password (but the password is correct) .
--
Edit bug report at: http://bugs.php.net/?id=11981&edit=1