|
|
Tgif FAQ - Input Chinese Characters
|
I've just compiled xcin but don't know how to
invoke it within tgif-4.x. The man page is not very
clear on how to input Chinese characters. Can you
give me some pointers?
|
-
I'm not too familiar with xcin. This is what I can do to get
some characters into it:
- Make sure you have something like the following in your X defaults
file:
-
Tgif.DoubleByteInputMethod: xcin
Tgif.SquareDoubleByteFonts: \n\
-hku-fixed-medium-r-normal--%d-*-*-*-*-*-big5.hku-0,*,HKU \n\
-hku-fixed-medium-r-normal--%d-*-*-*-*-*-big5.hku-0,*,HKU \n\
-hku-fixed-medium-r-normal--%d-*-*-*-*-*-big5.hku-0,*,HKU \n\
-hku-fixed-medium-r-normal--%d-*-*-*-*-*-big5.hku-0,*,HKU
I'm using hku-ch16
and I'm using the HKU PostScript font (which
doesn't really exist -- I'm just using it as an example).
- Start xcin. Start tgif and select the HKU font.
- Type <Cntrl><Space>. This should activate xcin.
Part of the xcin window becomes red and the title bar changes to
"Phonetic".
- Type "hak1" and I get a chinese two!
- Type <Cntrl><Space> again and xcin is deactivated.
Please note that tgif only talks to the active
DoubleByteInputMethod when the active
font is a double-byte font. The active font is displayed in the
window of icons. You can see it changes as you move the text
cursor through single and double-byte fonts.
|
Umm... Where can I get xcin?
|
-
You can get it from xcin's
home page. Version 2.5 supposed to use XIM protocol (so you
may need to change Tgif.DoubleByteInputMethod to xim) but I haven't
(and couldn't) tried it out. If you've tried it, please let me know
if tgif works with it.
|
|