in reply to Perl Tk -font option is not working in linux if the language is japanese
#!/usr/bin/perl use warnings; use strict; use Tk; my $mw=tkinit; $mw->fontCreate('big', -family=>'arial', -weight=>'bold', -size=> 38 ); my $string = "\x{65E5}\x{672C}\x{8A9E}\x{306E}\x{3072}\x{3089}\x{304C} +\x{306A}\x{6F22 }\x{5B57}\x{3068}\x{30AB}\x{30BF}\x{30AB}\x{30CA}"; my $label = $mw->Label(-bg => 'white', -text => $string, -font => 'big')->pack(); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Tk -font option is not working in linux if the language is japanese
by LeonelMendoza (Initiate) on Nov 07, 2012 at 03:00 UTC | |
by zentara (Cardinal) on Nov 08, 2012 at 11:01 UTC | |
by Khen1950fx (Canon) on Nov 07, 2012 at 04:43 UTC | |
by LeonelMendoza (Initiate) on Nov 07, 2012 at 05:33 UTC | |
by Khen1950fx (Canon) on Nov 07, 2012 at 07:42 UTC |