我的Fedora完美的美化總結,過程如下: 1、下載firefily的美化包,包括: 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 (要下載請到他的站點下) http://firefly.idv.tw/setfont-xft/Fedora/Core_1/RPMS/ 2、以根用戶(root)執行:rpm -ivh *.rpm --nodeps --force 3、從windows下拷貝 verdanab.ttf verdanaz.ttf mingliu.ttc tahomabd.ttf verdanai.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.
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 <pablo@mandrakesoft.com> #