php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40810 GD does not display characters with unicode references over 7
Submitted: 2007-03-15 04:55 UTC Modified: 2008-11-10 01:00 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:2 (50.0%)
From: j12345 at tom dot com Assigned: pajoye (profile)
Status: No Feedback Package: GD related
PHP Version: 5.2.3 OS: win xp
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: j12345 at tom dot com
New email:
PHP Version: OS:

 

 [2007-03-15 04:55 UTC] j12345 at tom dot com
Description:
------------
php_gd2.dll 

"GD Version"]=> string(27) "bundled (2.0.28 compatible)" 

GD doesn?t appear to be able to display characters with unicode references over 7 digits. 

6 digit references (or 5 digits in hex) display correctly, but 7 digits references (or 6 digits in hex) simply show the literal string: 

$image->stringFT(0x0000ff, $fontpath, 24, 0, 0,  32, "➠");  # Works
$image->stringFT(0x0000ff, $fontpath, 24, 0, 0,  64, "𘚟");  # Works
$image->stringFT(0x0000ff, $fontpath, 24, 0, 0,  96, "𝅗𝅥"); # Shows "𝅗𝅥"
$image->stringFT(0x0000ff, $fontpath, 24, 0, 0, 128, "𘚠"); # Shows "𘚠"



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-15 10:51 UTC] pajoye@php.net
See http://bugs.libgd.org/?do=details&task_id=42

The patch will be applied here and in gd. I need to add a couple of more tests and be sure that BC is kept.
 [2007-07-16 11:12 UTC] pajoye@php.net
Move to 5.2.3. Won't be fixed in php4
 [2008-11-02 12:41 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-11-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC