#40810 [Asn->Fbk]: GD does not display characters with unicode references over 7
ID: 40810
Updated by: jani@php.net
Reported By: j12345 at tom dot com
-Status: Assigned
+Status: Feedback
Bug Type: GD related
Operating System: win xp
PHP Version: 5.2.3
Assigned To: pajoye
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2007-07-16 11:12:32] pajoye@php.net
Move to 5.2.3. Won't be fixed in php4
------------------------------------------------------------------------
[2007-03-15 10:51:14] 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-03-15 04:55:30] j12345 at tom dot com
Description:
------------
php_gd2.dll
"GD Version"]=> string(27) "bundled (2.0.28 compatible)"
GD doesnt 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 "𘚠"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40810&edit=1
Thread (4 messages)