![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2004
Beans: 9
|
HOWTO: Enable Chinese Input
Chinese Input for Ubuntu Hoary:
(version française) 1) install the following packages: * scim * scim-chinese * scim-config-socket * scim-frontend-socket * scim-gtk2-immodule * scim-server-socket * scim-tables-zh (option) * xfonts-intl-chinese * xfonts-intl-chinese-big * ttf-arphic-gbsn00lp * ttf-arphic-gkai00mp * ttf-arphic-bkai00mp * ttf-arphic-bsmi00lp accept all dependencies. 2) System -> Preferences -> Sessions Startup Programs Tab -> Add Button Startup Command: scim -d Order: 80 3) Restart Gnome: CTRL+ALT+SUPPR 4) Open any software and press CTRL+SPACE to activate chinese input ------------------------------------------------------------------------------------------------------ IF not working you can as an alternative replace step 2) as follow: 2) alt+F2, gedit type these few lines: Code:
scim -d export XMODIFIERS=@im=scim export GTK_IM_MODULE=scim gnome-session Then open a terminal and type: Code:
$chmod +x .xsession Tips Additional Instructions for OpenOffice: Tools=>Options=>Language Settings=>Languages: enable Asian languages support and choose the asian default language for document. (chinese simplified for example) Tools=>Options=>Text Document=>Basic Fonts (Asian): change all of them for "AR PL Kaitim GB" or your favorite chinese font. Clean Font Add Firefly's font "AR PL New Sung" Open a terminal and type Code:
$wget http://firefly.idv.tw/apt/firefly-font/fireflysung-1.3.0.tar.gz $tar zxvf fireflysung-1.3.0.tar.gz $sudo cp fireflysung-1.3.0/fireflysung.ttf /usr/share/fonts/truetype/ $sudo fc-cache -f -v Code:
$wget http://cle.linux.org.tw/fonts/FireFly/fireflysung-1.3.0.tar.gz or $wget http://apt.nc.hcc.edu.tw/pub/FC_src/fireflysung-1.3.0.tar.gz or $wget http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz Install msttcorefonts, open a terminal: Code:
$sudo apt-get install msttcorefonts 现在能写中文 谢谢pierre 与tzutolin Last edited by DuKefeng; April 20th, 2005 at 02:20 AM.. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2005
Beans: 21
|
Re: Howto Chinese Input
Awesome, thanks.
|
|
|
|
|
|
#3 | |
|
A Carafe of Ubuntu
![]() |
Re: Howto Chinese Input
Quote:
I can read and write Chinese, but the words shown are blur.. Just not as clear as English characters.. How can I fix that?
__________________
"Having no way as the way. Having no limitation as your limitation." |
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2005
Beans: 21
|
Re: Howto Chinese Input
This is brilliant. I love it. Works very well.
|
|
|
|
|
|
#5 | |
|
First Cup of Ubuntu
![]() Join Date: Dec 2004
Beans: 9
|
Re: Howto Chinese Input
Quote:
Added in the HowTo |
|
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() |
Re: Howto Chinese Input
After I did the following, the Chinese characters are still blur as usual. Seems not changing anything.
$wget http://firefly.idv.tw/apt/firefly-fo...g-1.3.0.tar.gz $tar zxvf fireflysung-1.3.0.tar.gz $sudo cp fireflysung-1.3.0/fireflysung.ttf /usr/share/fonts/truetype/ $sudo fc-cache -f -v
__________________
"Having no way as the way. Having no limitation as your limitation." |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2004
Beans: 9
|
Re: Howto Chinese Input
Try this :
Disable anti-alias technology for Chinese fonts 16px or under My local.fonts look like this now: Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
<!-- Uncomment below to enable bitmapped fonts -->
<!--
<dir>/usr/X11R6/lib/X11/fonts</dir>
-->
<!-- Uncomment below to enable subpixel rendering -->
<!--
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<!-- Uncomment below to enable the freetype autohinter module -->
<!--
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
<!-- Disable font alias for Chinese <= 16px -->
<match target="font">
<test qual="any" name="family" compare="eq">
<string>AR PL KaitiM Big5</string>
<string>AR PL KaitiM GB</string>
<string>AR PL Mingti2L Big5</string>
<string>AR PL SungtiL Big5</string>
<string>AR PL New Sung</string>
<string>AR PL SungtiL GB</string>
<string>Kochi Mincho</string>
<string>Baekmuk Dotum</string>
</test>
<test name="pixelsize" compare="less_eq">
<double>8</double>
</test>
<edit name="antialias">
<bool>false</bool>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
</match>
</fontconfig>
Another way is to type with fonts size bigger than 16 Maybe you can post a screenshot to see how bad does it look? |
|
|
|
|
|
#8 |
|
UbuntuGuide Guru
![]() Join Date: Nov 2004
Location: Malaysia
Beans: 162
|
Re: Howto Chinese Input
added to ubuntuguide.org
http://ubuntuguide.org/#scim only prob... seems like some chars can't be displayed in the scim try the word 'wo' and then scroll... can see boxes (unknown chars) |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: May 2005
Beans: 3
|
Re: Howto Chinese Input
谢谢!
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: Enable Chinese Input
Thanks, I look forward to trying this out once I get my Hoary CD
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|