Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SCIM/SKIM Doesn't Show Complete Chinese Fonts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Fri Jun 16, 2006 5:05 pm    Post subject: SCIM/SKIM Doesn't Show Complete Chinese Fonts Reply with quote

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
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Sat Jun 17, 2006 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Jun 19, 2006 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
countryroad
n00b
n00b


Joined: 21 Mar 2006
Posts: 9

PostPosted: Wed Jun 21, 2006 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
yangtse
n00b
n00b


Joined: 05 May 2006
Posts: 28
Location: China

PostPosted: Wed Jul 05, 2006 10:02 am    Post subject: Reply with quote

scim能输入的字体超过了现在中文的字体。哈哈
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum