nfhgl 发表于 2003-12-17 23:33:39

我的Fedora完美的美化总结

我的Fedora完美的美化总结,过程如下:
1、下载firebird的美化包,包括:
fontconfig-2.2.1-10.firefly.i386.rpm
fontconfig-devel-2.2.1-10.firefly.i386.rpm
freetype-2.1.7-1.firefly.i386.rpm
freetype-demos-2.1.7-1.firefly.i386.rpm
freetype-devel-2.1.7-1.firefly.i386.rpm
freetype-utils-2.1.7-1.firefly.i386.rpm
pango-1.2.5-10.firefly.i386.rpm
pango-devel-1.2.5-10.firefly.i386.rpm
Xft2-2.1.2-10.firefly.i386.rpm
(要下载请到他的站点下)
2、以根用户(root)执行:rpm -ivh *.rpm --nodeps --force
3、从windows下拷贝verdanab.ttfverdanaz.ttf   mingliu.ttc   tahomabd.ttfverdanai.ttf   simsun.ttc    tahoma.ttf    verdana.ttf
至/usr/share/fonts/zh_CN/TrueType
其中mingliu可以完美显示繁体字。
4、编辑/etc/X11/XF86Config文件:
Section "Files"
# RgbPath is the location of the RGB database.Note, this is the name of the
# file minus the extension (like ".txt" or ".db").There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

      RgbPath      "/usr/X11R6/lib/X11/rgb"
      FontPath   "/usr/share/fonts/zh_CN/TrueType"-----加入
      FontPath   "unix/:7100"
EndSection

Section "Module"
      Load"dbe"
      Load"extmod"
      Load"fbdevhw"
      Load"glx"
      Load"record"
      Load"freetype"
#      Load"xtt"
      Load"type1"
#      Load"dri"
EndSection
对于xtt服务,可加可不加,显示粗斜体都正常。
5、编辑/etc/gtk/gtkrc.zh_CN文件,如下:
# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <[email protected]>
#

style "gtk-default-zh-cn" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
~
6、编辑/etc/gtk-2.0/gtkrc文件,如下:
#~/.gtkrc-2.0

style "user-font"
{
font_name="tahoma 9"
}
widget_class "*" style "user-font"
使之能很好地显示gtk程序,如xmms的字体就可以很漂亮了,呵……
还有要使所有用户都有读的权限,可使用命令:chmod a+r gtkrc
7、编辑/etc/fonts/fonts.conf文件(请自己找到相应位置进行修改):
Keith Packard
-->

<!-- Font directory list configured on Wed Apr 23 20:50:03 CST 2003 -->

<!-- <dir>/usr/local/zhfonts/simsun</dir>-->
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>=============加的
<dir>~/.fonts</dir>

<!--
<!--
Mark common families with their generics so we'll get
something reasonable
-->

<!--
Serif faces
-->
<alias>
<family>Tahoma</family>============加入
<family>Simsun</family>=============加入
<family>Bitstream Vera Serif</family>
<family>Times</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Kochi Mincho</family>
<family>DongWen FangSong</family>
<family>DongWen HeiTi</family>
<family>DongWen KaiTi</family>
<family>DongWen SongTi</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Batang</family>
<default><family>serif</family></default>
</alias>
<!--
Sans-serif faces
-->
<alias>
<family>Tahoma</family>=============加入
<family>Simsun</family>==============加入
<family>Bitstream Vera Sans</family>
<family>Helvetica</family>
<family>Arial</family>
<family>Verdana</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>DongWen FangSong</family>
<family>DongWen HeiTi</family>
<family>DongWen KaiTi</family>
<family>DongWen SongTi</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>Baekmuk Dotum</family>
<default><family>sans-serif</family></default>
</alias>
<!--
Monospace faces
-->
<alias>
<family>NSimsun</family>
<family>Tahoma</family>===============加入
<family>DongWen FangSong</family>
<family>DongWen HeiTi</family>
<family>DongWen KaiTi</family>
<family>DongWen SongTi</family>
<family>Bitstream Vera Sans Mono</family>
<family>Courier</family>
<family>Courier New</family>
<family>Andale Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<default><family>monospace</family></default>
</alias>
<!--
Provide required aliases for standard names
-->
<alias>
<family>serif</family>
<prefer>
&lt;family&gt;Tahoma&lt;/family&gt;==========加入
&lt;family&gt;Simsun&lt;/family&gt;===========加入
&lt;family&gt;DongWen FangSong&lt;/family&gt;
&lt;family&gt;DongWen HeiTi&lt;/family&gt;
&lt;family&gt;DongWen KaiTi&lt;/family&gt;
&lt;family&gt;DongWen SongTi&lt;/family&gt;
&lt;family&gt;Bitstream Vera Serif&lt;/family&gt;
&lt;family&gt;Times New Roman&lt;/family&gt;
&lt;family&gt;Nimbus Roman No9 L&lt;/family&gt;
&lt;family&gt;Luxi Serif&lt;/family&gt;
&lt;family&gt;Times&lt;/family&gt;
&lt;family&gt;Kochi Mincho&lt;/family&gt;
&lt;family&gt;AR PL SungtiL GB&lt;/family&gt;
&lt;family&gt;AR PL Mingti2L Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Batang&lt;/family&gt;
</prefer>
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;sans-serif&lt;/family&gt;
<prefer>
&lt;family&gt;Tahoma&lt;/family&gt;==============加入
&lt;family&gt;Simsun&lt;/family&gt;==============加入
&lt;family&gt;DongWen FangSong&lt;/family&gt;
&lt;family&gt;DongWen HeiTi&lt;/family&gt;
&lt;family&gt;DongWen KaiTi&lt;/family&gt;
&lt;family&gt;Bitstream Vera Sans&lt;/family&gt;
&lt;family&gt;Verdana&lt;/family&gt;
&lt;family&gt;Nimbus Sans L&lt;/family&gt;
&lt;family&gt;Luxi Sans&lt;/family&gt;
&lt;family&gt;Arial&lt;/family&gt;
&lt;family&gt;Helvetica&lt;/family&gt;
&lt;family&gt;Kochi Gothic&lt;/family&gt;
&lt;family&gt;AR PL KaitiM GB&lt;/family&gt;
&lt;family&gt;AR PL KaitiM Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Dotum&lt;/family&gt;
</prefer>
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;monospace&lt;/family&gt;
<prefer>
&lt;family&gt;NSimsun&lt;/family&gt;
&lt;family&gt;Tahoma&lt;/family&gt;==========加入
&lt;family&gt;DongWen FangSong&lt;/family&gt;
&lt;family&gt;DongWen HeiTi&lt;/family&gt;
&lt;family&gt;DongWen KaiTi&lt;/family&gt;
&lt;family&gt;Bitstream Vera Sans Mono&lt;/family&gt;
&lt;family&gt;Andale Mono&lt;/family&gt;
&lt;family&gt;Courier New&lt;/family&gt;
&lt;family&gt;Luxi Mono&lt;/family&gt;
&lt;family&gt;Nimbus Mono L&lt;/family&gt;
&lt;family&gt;Kochi Gothic&lt;/family&gt;
&lt;family&gt;AR PL KaitiM GB&lt;/family&gt;
&lt;family&gt;Baekmuk Dotum&lt;/family&gt;
</prefer>
&lt;/alias&gt;

&lt;!--
注意:&lt;family&gt;Tahoma&lt;/family&gt;
         &lt;family&gt;Simsun&lt;/family&gt;这两个一般要加在最前面,后面有的话请自行删除。

8、在控制台字符下(如果在图形界面里会异常,但也不影响,最好照做)
以根用户打入命令:cp /usr/lib/libXft.so* /usr/X11R6/lib
9、重起,在KDE和GNOME中选择字体,我用tahoma.ttf效果很好。

Bluedata 发表于 2003-12-17 23:40:23

8错! :-)
不过不是“firebird的美化包”。 :wink:

nfhgl 发表于 2003-12-17 23:48:33

效果图

效果图

nfhgl 发表于 2003-12-17 23:51:18

不好意思,是firefly 的。

再贴

nfhgl 发表于 2003-12-17 23:53:05

桌面 :twisted::mrgreen:

nfhgl 发表于 2003-12-17 23:55:59

:mrgreen::mrgreen:

nfhgl 发表于 2003-12-17 23:58:25

:mrgreen::oops::P

nfhgl 发表于 2003-12-17 23:59:05

:lol::lol:

nfhgl 发表于 2003-12-18 00:01:40

:P:P

nfhgl 发表于 2003-12-18 00:13:59

:lol::lol::lol::lol:

nfhgl 发表于 2003-12-18 00:17:24

繁体字也不错哟 :P:P:P:P

semson 发表于 2003-12-18 00:22:08

firefly 螢火蟲被你變了 firebird 火鳥/鳳凰 :twisted::evil:
你真是強得很呀

nfhgl 发表于 2003-12-18 00:25:14

因为一开始我以为他(她)是一个MM,所以一直认为他是一只“火鸟/凤凰”呀!你不为她真的给我们中文化带来了一片火热的东西吗? :lol::lol:

semson 发表于 2003-12-18 00:26:56

要修改的地方以顏色表示嘛,,,,,, 這樣大家都好看一點, 近視有望減輕一點:lol:

semson 发表于 2003-12-18 00:31:35

因为一开始我以为他(她)是一个MM,所以一直认为他是一只“火鸟/凤凰”呀!你不为她真的给我们中文化带来了一片火热的东西吗? :lol::lol:
我起初也是以為 firefly 是女的呀~~ 因為”螢火蟲” 這個別名太女性化了~~
-------------------------
怎樣, 你的 mozilla 同時顯示繁簡的效果如何???
页: [1] 2 3 4 5 6 7 8
查看完整版本: 我的Fedora完美的美化总结