|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28598 ImageTTFText doesn't work with some fonts
Submitted: 2004-06-01 02:22 UTC Modified: 2005-01-14 19:15 UTC
From: supermario at gmx dot net Assigned: pajoye
Status: Closed Package: GD related
PHP Version: 4.3.4+ OS: Linux / WinXP
Private report: No CVE-ID:
 [2004-06-01 02:22 UTC] supermario at gmx dot net
ImageTTFText() doesn't work with some TTF fonts (e.g. JuliusBThyssen.ttf) and produce only exclamation marks. The same PHP code and TTF file works with PHP 4.3.5RC1.

On request, I can send the font file per mail.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-01 22:49 UTC]
Are you using bundled or external GD library? What freetype 
library are you using? 
 [2004-06-01 23:00 UTC] supermario at gmx dot net
On Linux I use the bundled GD lib and Freetype 2.1.4 and on Windows I use the included GD2 DLL.
 [2004-06-01 23:13 UTC]
Please provide a link (or mail) to the font and a short to reproduce your problem (create an image, draw the text).

 [2004-06-02 01:00 UTC] supermario at gmx dot net
@Pierre, I sent you a mail with used font, PHP script and results of PHP 4.3.5RC1 and PHP 4.3.7RC1.
 [2004-06-02 09:23 UTC]
The font sounds ok and works with FT2 (outside php).

 [2004-06-04 12:54 UTC] supermario at gmx dot net
In PHP 4.3.7 the bug with that font still occurs.
 [2004-11-19 18:00 UTC]
Found work around. A fix in GD to work with MS Symbols does not take care if we relly have a Symbol family font. Many faces could be available. But checking the font family ('Symbol') seems to make it.

Commit over the weekend.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Fri Nov 27 13:01:31 2015 UTC