Bug #11979 Updated: could not open ttf file

From: Date: Fri, 20 Jul 2001 11:30:01 +0000
Subject: Bug #11979 Updated: could not open ttf file
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60372@lists.php.net to get a copy of this message
ID: 11979 Updated by: dbeu Reported By: andrea@kelli.it Old Status: Open Status: Closed Bug Type: GD related Operating System: WINDOWS 98 PHP Version: 4.0.6 New Comment: fixed in cvs, thanks. Previous Comments: ------------------------------------------------------------------------ [2001-07-09 14:33:14] sniper@php.net reopened. The full path didn't work. ------------------------------------------------------------------------ [2001-07-09 10:34:09] derick@php.net Try the full path to the font. and if that does not work, reopen this report. Derick ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11979&edit=1

« previous php.dev (#60372) next »