ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
[MACTCL] Tclkit, OSX, Japanese fonts
by Joi Osoy other posts by this author
Jun 4 2007 9:38AM messages near this date
[MACTCL] Errors thrown in ::tk::mac::ShowPreferences are swallowed | Re: [MACTCL] Thank you for fixing bug 1724460
Hi,

I am unable to display labels properly using latest
8.4.13 tclkit from equi4.com on OSX 10.4 x86. It
displays text in button widgets ok, not so in label
widgets. Using the system Wish or tclkit 8.5 seems to
work. Please see attached image.

The code is :

set f [open jp.txt]
fconfigure $f -encoding utf-8
set a [gets $f]
close $f
label .l -text $a 
button .b -text $a 
pack .b
pack .l

Doing:

label configure -font fixed

Helps, but some characters still do not show up. I
have searched the mailing lists and the closest I
could come up with was this thread: 
http://article.gmane.org/gmane.comp.lang.tcl.mac/2689/match=japanese

Is that what is happening here? Which font should I be
using?

any help appreciated, thanks!

Joi


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's econom
y) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved