[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
|