Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by choroba (Canon)
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 cooling their heels in the Monastery: (19)
As of 2015-07-02 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls