Mon Nov 28 15:41:00 2016: Request 119022 was acted upon.
Transaction: Ticket created by PRBRENAN
       Queue: Wx
     Subject: DrawText of unicode string
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: prbre...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119022 >


As can be seen in the attached screen shot, the DrawText of "Hello" works as 
expected but not "𝝰𝝱𝝲𝝱𝝰".
  
  my $f = Wx::Font->new("Noto Mono 24");
  my $g = Wx::PaintDC->new($panel);
     $g->SetFont($font); 
     $g->DrawText("Hello",  400, 400);
     $g->DrawText("𝝰𝝱𝝲𝝱𝝰", 400, 450);

I have tried various fonts (including the default) as well as various encodings 
all with similar (or worse) results.

uname -a
4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 
x86_64 GNU/Linux
perl -v
v5.22.1

Thanks for your help!

Reply via email to