php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #559 Problem with ImageTTFBBox()
Submitted: 1998-07-19 10:29 UTC Modified: 1998-07-30 07:59 UTC
From: wlloyd at mpd dot ca Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.1 OS: FreeBSD 2.2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wlloyd at mpd dot ca
New email:
PHP Version: OS:

 

 [1998-07-19 10:29 UTC] wlloyd at mpd dot ca
I'm using PHP 3.0.2 and Apache 1.2.6 and have had no problems using
imageTTFtext() with the GD library.  Nice on the fly gifs with fonts etc.

However the moment I put in a call to ImageTTFBBox in any way , the server core dumps, always.

For example this
$dfg = ImageTTFBBox(20, 0, "/fonts/ARIAL.TTF", "asdfsadf");

The only note is that the fonts are local file system, not an url.

-bill

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 07:59 UTC] rasmus
Fixed by John Ellson - patched in CVS
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Feb 25 12:01:26 2020 UTC