View previous topic :: View next topic |
Author |
Message |
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Fri Jun 16, 2006 5:05 pm Post subject: SCIM/SKIM Doesn't Show Complete Chinese Fonts |
|
|
Hi all,
As for now I can't input Chinese characters. Some of the characters are missing and replaced with dots. I already installed Arial Unicode MS and followed everything in the CJK documentation guide, but it doesn't work. I went up to install every fonts available from portage, yet no success.
Here's a screenshot. Look at number 3, 4, and 5. They're just dots. I typed "wo" there, yet it seems to be wrong...
Would anyone tell me what's wrong and how to fix it? Thanks. Also, how can I make the SCIM/SKIM a bit smarter? If I enter certain phrases, it should guess a handful of good ones (like the one in Windows).
Edit: I can view Chinese fonts in browsers. It's just that the characters doesn't show up in the same font.
Here's a screenshot. Anyone can tell me why? |
|
Back to top |
|
|
r0bertz Retired Dev
Joined: 13 Sep 2004 Posts: 257 Location: HKSAR,China
|
Posted: Sat Jun 17, 2006 6:43 am Post subject: |
|
|
install media-fonts/wqy-bitmapfont
add "/usr/share/fonts/wqy-bitmapfont" to fontpath in xorg.conf
cd /usr/share/fonts/wqy-bitmapfont , and run mkfontdir and mkfontscale, so that apps using X core font api can use them, like xmms and emacs. Then run "fc-cache -vf", so that apps using fontconfig can use it.
Note this font is bitmap font, which means if you specify a font size which the font doesn't have, you won't see it, instead you can see the nearest font size.
Or if you can obtain a legal copy of simsun.ttc, I recommend you use it. This font is ttf font, it also contains embedded bitmap at certain font size.
Also you may want to modify your fonts.conf, please check this:
http://wiki.archlinux.org/index.php/%E4%B8%AD%E6%96%87%E5%AD%97%E4%BD%93%E9%85%8D%E7%BD%AE%E8%8C%83%E4%BE%8B |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Mon Jun 19, 2006 5:02 pm Post subject: |
|
|
Thanks a lot. That works. Another question:
The font showing out in Gentoo is way too thin. I can barely read it. How can I fix it?
Please have a look at this screenshot. Notice the title. It doesn't align well. How can I fix it?
Thanks. |
|
Back to top |
|
|
countryroad n00b
Joined: 21 Mar 2006 Posts: 9
|
Posted: Wed Jun 21, 2006 1:28 pm Post subject: |
|
|
Code: |
<match target="font" >
<test compare="eq" name="family" qual="any" >
<string>SimSun</string>
<string>SimSun-18030</string>
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL New Sung</string>
<string>MingLiU</string>
<string>PMingLiU</string>
</test>
<test compare="more_eq" name="pixelsize" >
<double>8</double>
</test>
<test compare="less_eq" name="pixelsize" >
<double>16</double>
</test>
<edit name="antialias" >
<bool>false</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match> |
|
|
Back to top |
|
|
yangtse n00b
Joined: 05 May 2006 Posts: 28 Location: China
|
Posted: Wed Jul 05, 2006 10:02 am Post subject: |
|
|
scim能输入的字体超过了现在中文的字体。哈哈 |
|
Back to top |
|
|
|