CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
Tk+ Cyrillic fonts. Why Tk does not see them on XP?

 



regexp
New User

Aug 27, 2004, 4:16 AM

Post #1 of 1 (3360 views)
Tk+ Cyrillic fonts. Why Tk does not see them on XP? Can't Post

Hi! my name is Alexey and I use Perl and Tk to start some windows dialogs. Recently I have found one bug: on Windows XP, it seems, Tk does not see RUSSIAN (Cyrillic) symbols, in other hand on Windows NT it's ok, and on some XP stations it's ok too.

The sample code is:
-------------------

use Tk;
use Tk::FileSelect;
use Tk::ROText;

$main = MainWindow->new;


$main->title('My Application');
$main->geometry('500x500');


$main->Button(-text => 'some cyrillic text',
-command => sub{choose_file()}
)->pack;

$main->Button(-text => 'some cyrillic text',
-command => [$main => 'destroy']
)->pack;

MainLoop;

---------------------

The text noted as 'some cyrillic text' is not seen rightly. And also when I use file select, the files with cyrilic names are not showed corect in dialog window (I have some weird symbols instead)

Thanks a head of time.
Alexey
Regular Expert

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives