LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1865|回复: 4

Cosixlinux3。1!Simsun.ttf?

[复制链接]
发表于 2002-9-25 22:40:33 | 显示全部楼层 |阅读模式
我想在中软3。1下安装Simsun。ttf字体,但没能成功。系统用的是xfs,安装完后显示乱码,停止xfs后不能进入图形界面。
发表于 2002-9-25 22:43:41 | 显示全部楼层
直接用simsun.ttf把Cosix3.1附带的TTF字体替换即可。不过我觉得中软3.1自带的字体已经不错了,没有必要在装simsun了。
发表于 2002-9-25 22:49:07 | 显示全部楼层
还有,我觉得中软3.1与红旗3.2(桌面版)在诸多地方非常相似!都让我感觉很没劲!还是Redhat8.0和Mandrake9.0有点盼头……
 楼主| 发表于 2002-9-26 00:03:49 | 显示全部楼层

是啊

但是Mandrake9.0和Redhat8.0什么时候国内才有下载呢?高速的!
发表于 2002-10-11 20:29:59 | 显示全部楼层
我觉得中软3.1,是国内兼容最好的linux.

我写一个美化方案

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"


------------------------------------------------------------------------------
附录

xmms的中文显示:

-*-*-medium-r-normal--14-*-*-*-*-*-gb18030.2000-0
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表