当前位置: 技术问答>linux和unix
散分!终于可以输入中文了:)字体也不虚化了。
来源: 互联网 发布时间:2014-11-28
本文导语: 不过还有几个问题 1.如何改变mozilla中缺省字体的大小,我在130%的时候看上去最好,不会每次都得让我改吧? 2.openoffice1.0安装时还是看不见中文字,都是???,害得我不想装了. 3.我只有在cxterm里才能看到中文文件名:( ...
不过还有几个问题
1.如何改变mozilla中缺省字体的大小,我在130%的时候看上去最好,不会每次都得让我改吧?
2.openoffice1.0安装时还是看不见中文字,都是???,害得我不想装了.
3.我只有在cxterm里才能看到中文文件名:(
1.如何改变mozilla中缺省字体的大小,我在130%的时候看上去最好,不会每次都得让我改吧?
2.openoffice1.0安装时还是看不见中文字,都是???,害得我不想装了.
3.我只有在cxterm里才能看到中文文件名:(
|
1。vi /usr/lib/mozilla/defaults/pref/unix.js
这里改mozilla的字体。
2.你下载的是什么版的?这样试试。
1、安装Red Hat 7.2时,选择安装简体中文(zh_CN)和繁体中文(zh_TW)。如果已经安装时没有安装简体中文和繁体中文,可以补充安装第二张CD上的ttfonts-zh_CN-2.11-5.noarch.rpm和ttfonts-zh_TW-2.11-5.noarch.rpm。
2、把windows2000下的宋体字库simsun.ttc复制到:/usr/lib/X11/fonts/TrueType,并修改fonts.dir:
加入以下各行:
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gbk-0
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gbk-0
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gbk-0
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1
3、修改以下各行:(把bsmi00lp.ttf改为simsun.ttc,这是最关键的地方;把c-0-iso10646-1改为p-0-iso10646-1)
simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-big5-0
ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-i-normal--0-0-0-0-c-0-big5-0
ds=y:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-r-normal--0-0-0-0-c-0-big5-0
ds=y:ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-i-normal--0-0-0-0-c-0-big5-0
simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-i-normal--0-0-0-0-p-0-iso8859-1
ds=y:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-r-normal--0-0-0-0-p-0-iso8859-1
ds=y:ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-p-0-iso10646-1
ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-i-normal--0-0-0-0-p-0-iso10646-1
ds=y:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-r-normal--0-0-0-0-p-0-iso10646-1
ds=y:ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-i-normal--0-0-0-0-p-0-iso10646-1
修改开头的行数。
4、删除/usr/share/fonts/zh_CN 和 /usr/share/fonts/zh_TW目录下的全部文件。
5、修改/etc/XF86Config-4 相应部分:
Section "Files"
FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/TrueType" #添加simsun字库路径
EndSection
# Module loading section
Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "pex5" # PHIGS for X 3D environment (obsolete)
# Load "record" # X event recorder
# Load "xie" # X Image Extension (obsolete)
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
Load "xtt" # 载入 xtt,即TrueType字库驱动
# Load "type1" # Adobe Type 1 font handler
EndSection
3看不懂。
这里改mozilla的字体。
2.你下载的是什么版的?这样试试。
1、安装Red Hat 7.2时,选择安装简体中文(zh_CN)和繁体中文(zh_TW)。如果已经安装时没有安装简体中文和繁体中文,可以补充安装第二张CD上的ttfonts-zh_CN-2.11-5.noarch.rpm和ttfonts-zh_TW-2.11-5.noarch.rpm。
2、把windows2000下的宋体字库simsun.ttc复制到:/usr/lib/X11/fonts/TrueType,并修改fonts.dir:
加入以下各行:
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gbk-0
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gbk-0
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gbk-0
simsun.ttc -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
ai=0.3:simsun.ttc -misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1
ds=y:simsun.ttc -misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1
ds=y:ai=0.3:simsun.ttc -misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1
3、修改以下各行:(把bsmi00lp.ttf改为simsun.ttc,这是最关键的地方;把c-0-iso10646-1改为p-0-iso10646-1)
simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-big5-0
ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-i-normal--0-0-0-0-c-0-big5-0
ds=y:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-r-normal--0-0-0-0-c-0-big5-0
ds=y:ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-i-normal--0-0-0-0-c-0-big5-0
simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-p-0-iso8859-1
ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-i-normal--0-0-0-0-p-0-iso8859-1
ds=y:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-r-normal--0-0-0-0-p-0-iso8859-1
ds=y:ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-i-normal--0-0-0-0-p-0-iso8859-1
simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-p-0-iso10646-1
ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-medium-i-normal--0-0-0-0-p-0-iso10646-1
ds=y:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-r-normal--0-0-0-0-p-0-iso10646-1
ds=y:ai=0.3:simsun.ttc -Arphic-AR PL Mingti2L Big5-bold-i-normal--0-0-0-0-p-0-iso10646-1
修改开头的行数。
4、删除/usr/share/fonts/zh_CN 和 /usr/share/fonts/zh_TW目录下的全部文件。
5、修改/etc/XF86Config-4 相应部分:
Section "Files"
FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/TrueType" #添加simsun字库路径
EndSection
# Module loading section
Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "pex5" # PHIGS for X 3D environment (obsolete)
# Load "record" # X event recorder
# Load "xie" # X Image Extension (obsolete)
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
Load "xtt" # 载入 xtt,即TrueType字库驱动
# Load "type1" # Adobe Type 1 font handler
EndSection
3看不懂。
|
恭喜.我没试过。。。可不可以写出来啊。。。
|
恭喜,有心得吗?共享啦……呵呵!
|
恭喜恭喜!!!
|
恭喜
|
恭喜
接分
我也要装linux
接分
我也要装linux
|
恭喜
接分
接分
|
恭喜ing
|
恭喜了!
|
接分
|
用阳春白雪岂不是也很好?