Bug #11979 Updated: could not open ttf file

From: Date: Mon, 09 Jul 2001 14:34:09 +0000
Subject: Bug #11979 Updated: could not open ttf file
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59321@lists.php.net to get a copy of this message
ID: 11979
Updated by: derick
Reported By: andrea@kelli.it
Old Status: Open
Status: Bogus
Bug Type: GD related
Operating System: WINDOWS 98
PHP Version: 4.0.6
New Comment:

Try the full path to the font. and if that does not work, reopen this report.

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-07-09 10:30:57] andrea@kelli.it

<?
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

------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11979&edit=1



Thread (5 messages)

« previous php.dev (#59321) next »