From: Jim DeLaHunt <delahunt@ad...> - 2004-08-27 01:30:18
Tcl/Tk Aqua developers:
We are using Tcl/Tk to develop a utility application for Chinese, Japanese,
and Korean (CJK) font handling. It is based on Tcl/Tk Aqua 188.8.131.52, and
runs on MacOS X 10.2.8 and 10.3 (also Window 2000 and XP).
We've discovered a problem entering Japanese characters in the edit boxes
of the GMT on OSX. Currently key events bypass the Input Method (IM) and
key strokes are directly entered as text. The problem looks to us like it's
not in our utility, rather it is caused by the lack of IM support of Tk Aqua.
I've got to imagine that someone else has successfully used Tcl/Tk Aqua
with CJK input methods, but in looking around the web I don't come across
any clear examples in English-language or Japanese-language web pages.
There is a "Tcl/Tk Japanese Team", a Sourceforge project to "translate
documents and develop patches to fix bugs in Japanese processing, and also
to develop new functionality for the Japanese environment." However, their
Sourceforge project page and associated lists have relatively little activity.
In searching I don't see any clear the tcltkaqua Sourceforge project I
don't see any bugs or patches that are clearly applicable.
Can anybody offer some advice or pointers?
[BTW, we are grateful to the hard work of all the Tcl/Tk contributors. Part
of our SING Gaiji Technology Preview for Adobe InDesign is based on Tck/Tk
Aqua, and we're proud to have been able to contribute a little
ourselves. Go team!]
Engineering Manager, Gaiji Architectures
Program Manager for Server Products, Core Technology Group
M/S W-08, 345 Park Ave, San Jose, CA 95110-2702
email: delahunt@..., tel: +1-408-536-2690
From: Benjamin Riefenstahl <Benjamin.R<iefenstahl@ep...> - 2004-08-27 08:36:41
Jim DeLaHunt <delahunt@...> writes:
> I've got to imagine that someone else has successfully used Tcl/Tk
> Aqua with CJK input methods,
Not yet, to my knowledge.
CJK input in Mac OS X is powerfull but not trivial to map to Tk's
Fact is that I had done some work on this, but than I got side-tracked
with other issues. Right now I can't garantee when I will be able to
work on it again myself.
If you want to consider working on this yourself (in the C code of
Tk), search the mailing list for what we have already discussed
("keyboard" should be a good search term) and ask again for more
details. I'll be happy to discuss the issues here or in private email
if you prefer.