|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13941 ImageTTFText renders blocky text
Submitted: 2001-11-05 20:10 UTC Modified: 2001-12-01 15:36 UTC
From: james at computer-geek dot co dot uk Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: Slackware Linux 8.0
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:
Solve the problem:
7 + 44 = ?
Subscribe to this entry?

 [2001-11-05 20:10 UTC] james at computer-geek dot co dot uk
Having battled for days trying to get the illusive ImageTTFText() feature to actually work, it seems that the text rendering is "blocky".

My build is as follows:

FreeType 2.0.5
GD 2.0.1
PHP 4.0.6

Try this link:

This is the PHP4.0.6 version.

I have an older server running 4.0.4pl1, gd1.8.3 and freetype 1.3.1 at:

This renders fine.

I can't get 4.0.4pl1 to work with FreeType on my Slackware 8 box and the only version that seems to compile is 4.0.6 with PNG, JPEG, GD2 and FreeType 2.

Is this a problem with GD/FreeType or PHP4.0.6?

I read an article in the general mailing list about this so tried to go back to 4.0.5 but keep getting errors with FreeType / PNG - it's as if 4.0.5 doesn't want to see FreeType 2 as debug.log keeps referencing -lttf instead of -lfreetype and -I/usr/local/include/freetype instead of -I/usr/local/include/freetype2

Any ideas?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-10 05:06 UTC]
Please try the latest CVS snapshot from

And also keep in mind that GD 2.0.1 is still BETA.
You should also try with GD 1.8.4.


 [2001-12-01 15:36 UTC]
This is a known bug in GD2. Not a bug in PHP. Closing.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jan 28 22:05:53 2023 UTC