#40810 [Opn->Asn]: GD doesnt display characters with unicode references over 7

From: Date: Thu, 15 Mar 2007 10:51:17 +0000
Subject: #40810 [Opn->Asn]: GD doesnt display characters with unicode references over 7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110370@lists.php.net to get a copy of this message
ID: 40810 Updated by: pajoye@php.net Reported By: j12345 at tom dot com -Status: Open +Status: Assigned Bug Type: GD related Operating System: win xp PHP Version: 4.4.6 -Assigned To: +Assigned To: pajoye New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 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 "𘚠" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40810&edit=1

« previous php.bugs (#110370) next »