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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
29 + 4 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC