|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11979 could not open ttf file
Submitted: 2001-07-09 10:30 UTC Modified: 2001-07-20 07:29 UTC
From: andrea at kelli dot it Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: WINDOWS 98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: andrea at kelli dot it
New email:
PHP Version: OS:


 [2001-07-09 10:30 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 !!!");



font is in the path !
win 98 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-09 10:34 UTC]
Try the full path to the font. and if that does not work, reopen this report.

 [2001-07-09 14:33 UTC]
reopened. The full path didn't work.

 [2001-07-20 07:29 UTC]
fixed in cvs, thanks.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 06:03:48 2022 UTC