I'm trying to set up a working KDE environment with Simplified Chinese support with the help of Mike's document. So far I got xcin.spm compiled and installed, and Netscape starts very well. Everything is in Chinese, but Netscape doesn't seem to use the input method of xcin. I just cannot type in ANY chinese characters. Arne -- "I hate it when my foot falls asleep during the day cause that means it's going to be up all night." -- Steven Wright [--- PGP key available on http://www.root42.de/ ---]
Am Sonntag, 20. Januar 2002 17:20 schrieb Arne Schmitz:
I'm trying to set up a working KDE environment with Simplified Chinese support with the help of Mike's document. So far I got xcin.spm compiled and installed, and Netscape starts very well. Everything is in Chinese, but Netscape doesn't seem to use the input method of xcin. I just cannot type in ANY chinese characters.
Whatever I did... It now works. Sorry for the inconvenience. :-) But I've got another problem: How do I get Abiword to use my input-method? And it doesn't give me the Arphic font as an option. Arne -- If I don't see you in the future, I'll see you in the pasture. [--- PGP key available on http://www.root42.de/ ---]
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
But I've got another problem: How do I get Abiword to use my input-method?
Is this SuSE Linux 7.3? It did not yet work on SuSE Linux 7.2. Apart from that, you shouldn't have to do anything special to use xcin for Abiword. It's the same as for any other XIM supporting application.
And it doesn't give me the Arphic font as an option.
You could use them for display by editing /usr/share/AbiSuite/fonts/zh-TW/fonts.dir /usr/share/AbiSuite/fonts/fonts.alias but that is quite useless as you can't yet use them for printing from Abiword because the Ghostscript on SuSE Linux 7.3 doesn't yet support CJK-TrueType fonts. But the two CID-keyed Postscript fonts 'Moe Sung' and 'Moe Kai' supported by the default setup of Abiword in SuSE Linux 7.3 look also quite nice, so there is no urgent need to use the Arphic fonts for Abiword. You can use the Arphic fonts with CJK-LaTeX. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Sonntag, 20. Januar 2002 20:44 schrieben Sie:
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
But I've got another problem: How do I get Abiword to use my input-method? Is this SuSE Linux 7.3? It did not yet work on SuSE Linux 7.2.
Yes, exactly. SuSE 7.3.
Apart from that, you shouldn't have to do anything special to use xcin for Abiword. It's the same as for any other XIM supporting application.
Hmm... So how can I specify which IM Abiword is supposed to use? The XMODIFIER variable does not seem to be honored. Or how is this handled for GTK apps? KDE apps got a command-line switch I figured out.
but that is quite useless as you can't yet use them for printing from Abiword because the Ghostscript on SuSE Linux 7.3 doesn't yet support CJK-TrueType fonts.
But the two CID-keyed Postscript fonts 'Moe Sung' and 'Moe Kai' supported by the default setup of Abiword in SuSE Linux 7.3 look also quite nice, so there is no urgent need to use the Arphic fonts for Abiword.
Well, but they are not simplified Chinese, or are they? It says "Traditional Chinese" in the description. But I need gb encoded fonts. :-(
You can use the Arphic fonts with CJK-LaTeX.
For on screen display I guess. I'll try that, too. Arne - -- In Pocataligo, Georgia, it is a violation for a woman over 200 pounds and attired in shorts to pilot or ride in an airplane. [--- PGP key available on http://www.root42.de/ ---] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8SyJAzpP3gv0FvtcRAoHEAKDvyti9qKycxYnmQDCCmq3bmzUANgCg2Jh3 +Me6aNxzMoDS+hen5at8vLM= =vo8J -----END PGP SIGNATURE-----
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
Am Sonntag, 20. Januar 2002 20:44 schrieben Sie:
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
But I've got another problem: How do I get Abiword to use my input-method? Is this SuSE Linux 7.3? It did not yet work on SuSE Linux 7.2.
Yes, exactly. SuSE 7.3.
Apart from that, you shouldn't have to do anything special to use xcin for Abiword. It's the same as for any other XIM supporting application.
Hmm... So how can I specify which IM Abiword is supposed to use? The XMODIFIER variable does not seem to be honored. ^S
There is an 'S' missing. It is XMODIFIERS.
Or how is this handled for GTK apps? KDE apps got a command-line switch I figured out.
The XMODIFIERS variable is honored by all applications supporting XIM, i.e. this is the same for KDE and GNOME applications. You don't need a command line switch for KDE applications if you have XMODIFIERS set correctly. How did you start 'xcin'? Automatically via ~/.xim or manually? If you start it manually, xcin tells you which value of XMODIFIERS has to be used: ~$ LC_ALL=zh_CN.GB2312 xcin XCIN (Chinese XIM server) version xcin 2.5.2.3. (module ver: 20000831, syscin ver: 20000210). (use "-h" option for help) xcin: locale "zh_CN.GB2312" encoding "gb2312" xcin: XIM server "xcin-zh_CN.GB2312" transport "X/" xcin: inp_styles: Root OverTheSpot The value shown behind 'XIM server' prefixed by '@im=' is the value you have to use for XMODIFIERS. In the above case you must use ~$ LC_ALL=zh_CN.GB2312 XMODIFIERS=@im=xcin-zh_CN.GB2312 abiword. But if you use the alias zh_CN instead of zh_CN.GB2312 when starting xcin mfabian@gregory:~$ LC_ALL=zh_CN xcin XCIN (Chinese XIM server) version xcin 2.5.2.3. (module ver: 20000831, syscin ver: 20000210). (use "-h" option for help) xcin: locale "zh_CN" encoding "gb2312" xcin: XIM server "xcin-zh_CN" transport "X/" now you have to use ~$ LC_ALL=zh_CN.GB2312 XMODIFIERS=@im=xcin-zh_CN abiword i.e. the value needed for XMODIFIERS depends on the exact string-value of LC_CTYPE when xcin was started. If you use my ~/.xim to start xcin, the second variant will be used i.e. you need XMODIFIERS=@im=xcin-zh_CN then.
but that is quite useless as you can't yet use them for printing from Abiword because the Ghostscript on SuSE Linux 7.3 doesn't yet support CJK-TrueType fonts.
But the two CID-keyed Postscript fonts 'Moe Sung' and 'Moe Kai' supported by the default setup of Abiword in SuSE Linux 7.3 look also quite nice, so there is no urgent need to use the Arphic fonts for Abiword.
Well, but they are not simplified Chinese, or are they? It says "Traditional Chinese" in the description. But I need gb encoded fonts. :-(
Yes, that's right, there are no CID-keyed fonts for simplified Chinese in SuSE Linux, that's why I didn't include simplified Chinese in the default setup for Abiword. On screen you could easily use the Arphic fonts by editing /usr/share/AbiSuite/fonts/zh-CN/fonts.dir /usr/share/AbiSuite/fonts/fonts.alias analog to the settings done for zh_TW, but that won't help for printing as the Arphic fonts can't be used by Ghostscript in SuSE Linux 7.3.
You can use the Arphic fonts with CJK-LaTeX.
For on screen display I guess. I'll try that, too.
With CJK-LaTeX you can use the Arphic fonts for printing as well because CJK-LaTeX embeds the fonts into the PostScript files it produces, therefore you don't depend on support for the Arphic fonts in Ghostscript. You can also use CJK-LyX as a graphical front end for CJK-LaTeX, the following page shows an example screen shot: http://www.suse.de/~mfabian/suse-cjk/cjk-lyx-chinese-gb2312.html -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
"Arne Schmitz" <arne.schmitz@mmweg.rwth-aachen.de> writes:
I'm trying to set up a working KDE environment with Simplified Chinese support with the help of Mike's document. So far I got xcin.spm compiled and installed,
You don't need to compile it, you can also download it from the FTP version of SuSE Linux 7.3. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (2)
-
Arne Schmitz
-
Mike Fabian