[libGD] #42 [Comment added] GD can't display characters with unicode references over 7 digits
[email protected] Fri, 19 Mar 2010 16:00:18 +0100 (CET)
| Newsgroups | php.gd.bugs |
|---|---|
| Message-ID | <[email protected]> |
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#42 - GD can't display characters with unicode references over 7 digits User who did this - Mike Kamermans (Pomax) ---------- Not quite sure what you mean with "the font does not provided index for those characters"? HAN NOM B is a normal TTF font with a CMAP subtables. For UCS-2 characters (everything 0x00 to 0xFFFF) uses a format 4 subtable, and UCS-4 characters use a format 12 subtable. I don't use FreeType directly (I'm using a custom opentype/truetype parse code), but FT_Get_Char_Index *should* return indexes for high codepoint glyphs just fine. For instance, the glyph index for unicode character 0x20000 in the GLYF data table for HAN NOM B is 1775, and the glyph index for unicode character 0x10000 in the GLYF data table for Code2001 is 683. Are you saying GDLib, by way of FreeType, cannot access unicode characters over 0xFFFF because of limitations in FreeType? Because as far as I know FreeType is perfectly capable of dealing with UCS-4 codepoint glyphs... ---------- More information can be found at the following URL: http://bugs.libgd.org/?do=details&task_id=42#comment637 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.