Differences between revisions 1 and 2
Revision 1 as of 2005-06-28 08:41:57
Size: 2416
Editor: ID00243
Comment:
Revision 2 as of 2005-06-28 11:39:49
Size: 2490
Editor: dyn-176127
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * Fedora Installation
Line 5: Line 4:
Select only English(USA) locale. Some fonts and input methods will also installed if you select Chinese locale. But those are no use.

Select and Install Gnome, Development, Kernel Development, Gnome Development and X Development. You may ignore the development packages if you don't need them at all.

 * Fonts Installation
== Fonts Installation ==
Line 25: Line 20:
(Arial Unicode MS; -ARIALUNI.TTF
Line 35: Line 31:
 * Input Method Installation and Configuration == Input Method Installation and Configuration ==
Line 37: Line 33:
The Smart Common Input Method platform, SCIM for short, is an input method that works under English locale. You may download it from http://www.turbolinux.com.cn/~suzhe/scim/. I just installed the following two RPM packages  scim:: http://www.scim-im.org
 scim documentation:: http://www.scim-im.org/wiki/documentation



=== Installation of SCIM on Fedora Core ===

Scim is now included in Fedora Extras. See http://fedoraproject.org/wiki/Extras/UsingExtras for more information on how to use Fedora Extras.
(In FC4 and later yum is preconfigured to use extras.)

Once you have yum setup for extras, run as root:
Line 40: Line 46:
rpm -hUv scim-0.8.2-1.i586.rpm
rpm -hUv scim-chinese-0.2.6-1.i586.rpm
yum install scim
Line 44: Line 49:
Then, you have to midify the file /etc/X11/xinit/xinitrc.d/xinput, in order to start SCIM automatically after X started. Here's the patch file === IMEngines ===

You will also need to install some IMEngine packages.

Currently work is in progress adding these to Fedora Extras, in the mean time you can use the packages in the yum repositories at
http://people.redhat.com/petersen/scim/ to obtain IMEngine packages for Fedora Core 3 and 4.
Configuring default Input system

If you use Chinese, Japanese or Korean by default on your desktop then after installing the scim package from Fedora Extras
it should be the default Input system by default for those languages.

If this is not the case, then you can change you default input method system wide with "system-switch-im",
or as a user on a system where system-switch-im is installed:
Line 47: Line 64:
115c115,118
< XIM="none"
---
> # XIM="none"
> if [ -e /usr/bin/scim ]; then
> XIM="SCIM"
> fi
174a178,180
> SCIM)
> XIM_PROGRAM=scim
> XIM_ARGS="-d" ;;
im-switch -s scim
Line 60: Line 67:
If you want, also change zh_CN*), zh_TW*), etc., to use SCIM under those locale.

And you need modify the file /etc/gtk-2.0/gtk.immodules, to use X input methods in gtk applications. Here's the patch file
If you are not able to install "system-switch-im", the equivalent operation is:
Line 65: Line 70:
37c37
< "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:zh"
---
> "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:zh"
mkdir -p ~/.xinput.d
ln -s /etc/X11/xinit/xinput.d/scim ~/.xinput.d/default
Line 71: Line 74:
Also comment the IMs that you never need.

 * Done, restart X.
Replace "default" by your locale without encoding (eg "ja_JP" for Japanese, etc), if you only want to use scim by default for desktop sessions in that language.

This article shows how I installed Chinese support for Fedora under English locale(en_US.UTF-8).

Fonts Installation

Copy the TrueType fonts you want from Microsoft Windows to /usr/share/fonts/windows/. You many find the fonts in Windows' \WINNT\Fonts directory.

Then execute the following commands as root:

cd /usr/share/fonts/windows
ttmkfdir .
cp fonts.scale fonts.dir
chkfontpath --add /usr/share/fonts/windows

Here are the fonts that should be installed

(Arial Unicode MS -ARIALUNI.TTF
(Arial) - arial.ttf arialbd.ttf arialbi.ttf ariali.ttf
(Courier New) - cour.ttf courbi.ttf courbd.ttf couri.ttf
(Tahoma) - tahoma.ttf tahomabd.ttf
(Verdana) - verdana.ttf verdanab.ttf verdanai.ttf verdanaz.ttf
(GB) - simsun.ttc
(BIG5) - mingliu.ttc
(KR) - batang.ttc gulim.ttc
(JP) - msgothic.ttc msmincho.ttc

Input Method Installation and Configuration

scim

http://www.scim-im.org

scim documentation

http://www.scim-im.org/wiki/documentation

Installation of SCIM on Fedora Core

Scim is now included in Fedora Extras. See http://fedoraproject.org/wiki/Extras/UsingExtras for more information on how to use Fedora Extras. (In FC4 and later yum is preconfigured to use extras.)

Once you have yum setup for extras, run as root:

yum install scim

IMEngines

You will also need to install some IMEngine packages.

Currently work is in progress adding these to Fedora Extras, in the mean time you can use the packages in the yum repositories at http://people.redhat.com/petersen/scim/ to obtain IMEngine packages for Fedora Core 3 and 4. Configuring default Input system

If you use Chinese, Japanese or Korean by default on your desktop then after installing the scim package from Fedora Extras it should be the default Input system by default for those languages.

If this is not the case, then you can change you default input method system wide with "system-switch-im", or as a user on a system where system-switch-im is installed:

im-switch -s scim

If you are not able to install "system-switch-im", the equivalent operation is:

mkdir -p ~/.xinput.d
ln -s /etc/X11/xinit/xinput.d/scim ~/.xinput.d/default

Replace "default" by your locale without encoding (eg "ja_JP" for Japanese, etc), if you only want to use scim by default for desktop sessions in that language.

JunHu: JunHu/Memo/ChineseUnderEnglishLocale (last edited 2008-10-03 20:20:18 by localhost)