php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11981 no ttf file open
Submitted: 2001-07-09 11:31 UTC Modified: 2001-07-09 14:32 UTC
From: andrea at kelli dot it Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6 OS: win98
Private report: No CVE-ID: None
 [2001-07-09 11:31 UTC] andrea at kelli dot 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
-- 

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) .

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-09 14:32 UTC] sniper@php.net
reopened the original one. Bogused this.

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC