《linux字体》(VeraSansYuanTi for Linux)

王朝简介·作者佚名  2009-06-29  
宽屏版  字体: |||超大  
 说明  因可能的版权问题本站不提供该资源的存贮、播放、下载或推送,本文仅为内容简介。

中文名: linux字体

英文名: VeraSansYuanTi for Linux

别名: VeraSansYuanTi

地区: 大陆

对白语言: 普通话

简介:

和windows字体有一拼的Linux中文字体,下去试试.不行来这里给我扔西瓜皮,想看效果.点连接看完整图,我机子24小时不关.512Kadsl.上传速度不限制

字体展示:

安装字体:

1.把刚才制作好的四个字体复制到 /usr/local/share/fonts 下

2.执行

ttmkfdir -d /usr/local/share/fonts -o /usr/local/share/fonts/fonts.scale

cp /usr/local/share/fonts/fonts.scale /usr/local/share/fonts/fonts.dir

3.更改 /etc/X11/XF86Config

在字体字段加入一行

FontPath "/usr/local/share/fonts"

类似于

RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "/usr/local/share/fonts"

FontPath "unix/:7100"

如果你用的 X 是 xorg 的话就应改修改 xorg.conf

4.更改 /etc/X11/fs/config

在查找字体字段增加一行

/usr/local/share/fonts,

类似于

catalogue = /usr/share/fonts/zh_CN/TrueType,

/usr/local/share/fonts,

/usr/X11R6/lib/X11/fonts/korean,

5.编辑 /etc/gtk-2.0/gtkrc(这一步是为在 KDE 下 GTK2 的程序设置字体。如果你用的是 gnome 就不用修改,否则字体设置会不起作用)

加入

style "user-font"

{

font_name="Vera Sans YuanTi xx"

#xx表示字号的大小,你可以按你的需要自行设置

}

widget_class "*" style "user-font"

6.注销或者执行 init 3 或者按 ctrl+alt+backspace 退出 X

7.执行

fc-cache -fv

/etc/init.d/xfs restart

8.startx 或者 init 5 进入 X 后,在字体设置里选择 Vera Sans YuanTi,大小为 xx 即可

如果你想要类似 mac OS X 的那种粗粗黑黑的效果就编辑 /etc/fonts/fonts.conf

把以下内容加入(</FONTCONFIG> 前面)

<match target="font">

<test name="family"><string>Vera Sans YuanTi</string></test>

<edit name="globaladvance"><bool>false</bool></edit>

</match>

<match target="font">

<test name="family"><string>Vera Sans YuanTi Mono</string></test>

<edit name="globaladvance"><bool>false</bool></edit>

</match>

<match target="font">

<edit name="antialias"><bool>true</bool></edit>

<edit name="hinting"><bool>false</bool></edit>

<edit name="autohint"><bool>false</bool></edit>

</match>

如果你想要类似 windows 的那种清晰细腻的的效果就编辑 /etc/fonts/fonts.conf

把以下内容加入(</FONTCONFIG> 前面)

<match target="font">

<test name="family"><string>Vera Sans YuanTi</string></test>

<edit name="globaladvance"><bool>false</bool></edit>

</match>

<match target="font">

<test name="family"><string>Vera Sans YuanTi Mono</string></test>

<edit name="globaladvance"><bool>false</bool></edit>

</match>

<match target="font">

<edit name="antialias"><bool>true</bool></edit>

<edit name="hinting"><bool>false</bool></edit>

<edit name="autohint"><bool>false</bool></edit>

</match>

<match target="font">

<test name="pixelsize" compare="more_eq"><double>12</double></test>

<test name="pixelsize" compare="less_eq"><double>16</double></test>

<edit name="antialias"><bool>false</bool></edit>

<edit name="hinting"><bool>true</bool></edit>

<edit name="autohint"><bool>false</bool></edit>

</match>

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有