Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 90493
Status: new
Priority: 0/
Queue: GD

Owner: Nobody in particular
Requestors: ecudvd [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Can't use stringFT with 4-byte unicode characters
Date: Mon, 18 Nov 2013 22:25:46 +0000
To: "bug-GD [...]" <bug-gd [...]>
From: J K <ecudvd [...]>
Download (untitled) / with headers
text/plain 677b
perl v5.12.4 perl-GD v. 2.45 Mac OS X 10.8.5 I have been using stringFT without problems with various TTF fonts. That is until I needed to print 4-byte characters (i.e. \x{10000} and above). Regardless of the font and the actual codepoint I am trying to render, statements like: $Image->stringTTF($white,$font,$fontsize,0,$x,$y,"\x{11136}"); are not successful, instead they render 4 strange characters per intended letter, like not recognizing the utf8 encoding. I tried things like passing UTF-16/32 strings etc, which I did not really expect to work and did not. Is it a problem with my configuration, or perl-GD cannot successfully pass 4-byte utf8 to libGD?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to