Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl Tk -font option is not working in linux if the language is japanese

by choroba (Abbot)
on Nov 06, 2012 at 08:59 UTC ( #1002434=note: print w/ replies, xml ) Need Help??


in reply to Perl Tk -font option is not working in linux if the language is japanese

Does the font setting work for any other font with Japanese?
Are you sure the font in questions can display Japanese?
Can you show a short sample code that demostrates the problem?
This works for me:

perl -MEncode -MTk -e 'my $j = decode("utf-8", "\xe6\x97\xa5\xe6\x9c\x +ac\xe5\x9b\xbd"); my $w = new MainWindow::; $w->Label(-text => $j, -font => "-adobe-helvetica-regular-r-normal-*-12-*-*-*-* +-*-*-*" )->pack; MainLoop()'
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Perl Tk -font option is not working in linux if the language is japanese
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002434]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-12-22 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (126 votes), past polls