Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] 肥腫難耐的abcd
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
kentsin
n00b
n00b


Joined: 08 Dec 2002
Posts: 58
Location: Macao

PostPosted: Mon Feb 19, 2007 3:58 am    Post subject: [solved] 肥腫難耐的abcd Reply with quote

將locale設成中文以後, Terminal 及Firefox中的 abcd 就變得肥腫難耐。

雖說不要光看外在美, 但實在有點那個。朋友們,有法子麼?

另外, 中文字有些大, 有些小, 還有些變成了方磚。我估是字型不齊, 有解法麼? 我至少要裝那些字型?

春節快樂


Edit: 标题加上 solved - Eric
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Tue Feb 20, 2007 2:52 am    Post subject: Reply with quote

  朋友,春節愉快!

  是的,如果字體大小不一致,很可能就是因為它們是來自不同的字體拼湊而成的結果。 比較完整的中文支援的字體有:

  1、 media-fonts/wqy-bitmapfont --這是點陣字,非常適合屏幕顯示;
  2、 media-fonts/arphicfonts   --這是 truetype 字,有宋、楷兩套字體,其中宋體字型有點陣字,適合屏幕和列印。

 **注: 目前仍標注為測試中,請用 20060928 的版本!!
Code:
# ACCEPT_KEYWORDS='~*' Emerge media-fonts/arphicfonts -av

_________________
AKar
Back to top
View user's profile Send private message
big
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2007
Posts: 87

PostPosted: Wed Feb 21, 2007 2:44 am    Post subject: Reply with quote

各位猪年快乐,身体健康,万事如意!
我的系统是英文的local,安装了WenQuanyi Bitmap Song用来显示中文,但是之后在安装openoffice时候,依赖安装上了arphicfonts,gnome的默认字体全变成了楷体,估计可能是font设置优先级的问题,但是找了fonts.conf没解决,然后到/etc/gtk/gtkrc.zh_CN,/etc/gtk-2.0/gtkrc也没发现什么问题,后来没办法,删掉arphicfonts后,恢复正常了,不知道什么原因。
_________________
be big,no bug
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Sun Feb 25, 2007 9:00 am    Post subject: Reply with quote

  目前的開源系統的主流字體配置是通過 fontconfig 來實現的(請查看該項目主頁來得知 fontconfig的功能)。 

  可以通過修改 /etc/fonts/local.conf 來重新排列 字體的顯示的優先次序。  參考這一頁: http://holz.byethost15.com/node/310

  並按你自己系統安裝的字體修改四大家族的採用字體的優先次序:

Quote:


<alias>
<family>serif</family>
<prefer>


Back to top
View user's profile Send private message
big
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2007
Posts: 87

PostPosted: Thu Mar 01, 2007 6:21 am    Post subject: Reply with quote

akar wrote:
  目前的開源系統的主流字體配置是通過 fontconfig 來實現的(請查看該項目主頁來得知 fontconfig的功能)。 

  可以通過修改 /etc/fonts/local.conf 來重新排列 字體的顯示的優先次序。  參考這一頁: http://holz.byethost15.com/node/310

  並按你自己系統安裝的字體修改四大家族的採用字體的優先次序:

Quote:


<alias>
<family>serif</family>
<prefer>




恩,今天试了下在~/.fonts.conf 下添加了如下的代码(以前用debian时候的字体配置文件摘下来的):
Code:
<alias>
    <family>serif</family>
        <prefer>
        <family>Bitstream Vera Serif</family>
        <family>Times New Roman</family>
        <family>WenQuanYi Bitmap Song</family>
        </prefer>
</alias>

<alias>
    <family>sans-serif</family>
        <prefer>
        <family>Bitstream Vera Sans</family>
        <family>Verdana</family>
        <family>WenQuanYi Bitmap Song</family>
        </prefer>
</alias>

<alias>
    <family>monospace</family>
        <prefer>
        <family>Bitstream Vera Sans Mono</family>
        <family>Terminus</family>
        <family>Courier New</family>
        <family>WenQuanYi Bitmap Song</family>
        </prefer>
</alias>

这样用wqy的字体,显示好多了!akar,谢了! :D
_________________
be big,no bug
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Fri Mar 02, 2007 2:51 am    Post subject: Reply with quote

big wrote:
这样用wqy的字体,显示好多了!akar,谢了! :D


记得在标题前加上 [solved] :)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
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