Cosix linux3.1[發行版]美化方案(轉)

ba發表於2007-08-12
Cosix linux3.1[發行版]美化方案(轉)[@more@]COSIX 3.1 美化


1. 建立目錄: mkdir /usr/X11R6/lib/X11/fonts/zh_CN_fonts

2.CP windowsXP下的simsun.ttc、SimSun18030.ttc及gulim.ttc到以上目錄,將ttc改為ttf字型.
生成:fonts.dir (這個命令:ttmkfdir > fonts.dir)修改使其與如下相似:

52
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gb18030.2000-0
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
SimSun18030.ttf -misc-SimSun18030-medium-r-normal--0-0-0-0-c-0-gb18030.2000-0
ai=0.3:SimSun18030.ttf -misc-SimSun18030-medium-i-normal--0-0-0-0-c-0-gb18030.2000-0
ds=y:SimSun18030.ttf -misc-SimSun18030-bold-r-normal--0-0-0-0-c-0-gb18030.2000-0
ds=y:ai=0.3:SimSun18030.ttf -misc-SimSun18030-bold-i-normal--0-0-0-0-c-0-gb18030.2000-0
gulim.ttf -misc-SimSun18030-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:gulim.ttf -misc-SimSun18030-medium-i-normal--0-0-0-0-p-0-iso8859-1
gulim.ttf -misc-SimSun18030-bold-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:gulim.ttf -misc-SimSun18030-bold-i-normal--0-0-0-0-p-0-iso8859-1
SimSun18030.ttf -misc-SimSun18030-medium-r-normal--0-0-0-0-p-0-gb18030.2000-1
ai=0.3:SimSun18030.ttf -misc-SimSun18030-medium-i-normal--0-0-0-0-p-0-gb18030.2000-1
ds=y:SimSun18030.ttf -misc-SimSun18030-bold-r-normal--0-0-0-0-p-0-gb18030.2000-1
ds=y:ai=0.3:SimSun18030.ttf -misc-SimSun18030-bold-i-normal--0-0-0-0-p-0-gb18030.2000-1
SimSun18030.ttf -misc-SimSun18030-medium-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:SimSun18030.ttf -misc-SimSun18030-medium-i-normal--0-0-0-0-p-0-fcd8859-15
ds=y:SimSun18030.ttf -misc-SimSun18030-bold-r-normal--0-0-0-0-p-0-fcd8859-15
ds=y:ai=0.3:SimSun18030.ttf -misc-SimSun18030-bold-i-normal--0-0-0-0-p-0-fcd8859-15
SimSun18030.ttf -misc-SimSun18030-medium-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:SimSun18030.ttf -misc-SimSun18030-medium-i-normal--0-0-0-0-p-0-iso8859-15
ds=y:SimSun18030.ttf -misc-SimSun18030-bold-r-normal--0-0-0-0-p-0-iso8859-15
ds=y:ai=0.3:SimSun18030.ttf -misc-SimSun18030-bold-i-normal--0-0-0-0-p-0-iso8859-15
SimSun18030.ttf -misc-SimSun18030-medium-r-normal--0-0-0-0-c-0-iso10646-1
ai=0.3:SimSun18030.ttf -misc-SimSun18030-medium-i-normal--0-0-0-0-c-0-iso10646-1
ds=y:SimSun18030.ttf -misc-SimSun18030-bold-r-normal--0-0-0-0-c-0-iso10646-1
ds=y:ai=0.3:SimSun18030.ttf -misc-SimSun18030-bold-i-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
gulim.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:gulim.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1
gulim.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:gulim.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-gbk-0
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-gbk-0
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-gbk-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-15
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-15
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-15
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-15
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1
ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1
ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-kai-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
SimSun18030.ttf -misc-kai-medium-r-normal--0-0-0-0-c-0-gb18030.2000-0

然後 cp fonts.dir fonts.scale,或者 cat fonts.dir > fonts.scale

然後複製編碼檔案 encodings.dir 到目錄裡來.

cp /usr/X11R6/lib/X11/fonts/encodings/encodings.dir /usr/X11R6/lib/X11/fonts/zh_CN_fonts


3.修改/etc/X11/XF86Config-4,新增:

FontPath "/usr/X11R6/lib/X11/fonts/zh_CN_fonts"

4. 修改 XF86Config-4.sm 新增:

FontPath "/usr/X11R6/lib/X11/fonts/zh_CN_fonts"

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617731/viewspace-949840/,如需轉載,請註明出處,否則將追究法律責任。

相關文章