[问题]Firefox工具栏字体以及登录字体更改

为当前最终发行版之前的所有版本提供支持
回复
my__
帖子: 33
注册时间: 2007-07-02 16:57
送出感谢: 0
接收感谢: 0
联系:

[问题]Firefox工具栏字体以及登录字体更改

#1

帖子 my__ » 2007-07-24 22:20

各位!我在字体设置中,把字体全部调成了微软雅黑可是有些字体还是默认字体,看着不是很舒服,特别是Firefox工具栏字体和登录字体更改,天天都得面对的,请问有什么办法吗?
附件
Screenshot.jpg
feiny
帖子: 79
注册时间: 2007-06-17 18:16
送出感谢: 0
接收感谢: 0

#2

帖子 feiny » 2007-07-25 9:48

你设置一下Firefox
附件
Screenshot-Fonts.png
techie
帖子: 98
注册时间: 2005-11-24 11:28
送出感谢: 0
接收感谢: 0

#3

帖子 techie » 2007-07-25 11:13

字体里面选择Sans Serif可能会好一些吧,最好把你的language-selector.conf里面的内容贴出来。
my__
帖子: 33
注册时间: 2007-07-02 16:57
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 my__ » 2007-07-25 12:38

这个是language-selector.conf的内容
<fontconfig>

<alias>

<family>serif</family>

<prefer>

<family>Bitstream Vera Serif</family>

<family>DejaVu Serif</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<alias>

<family>sans-serif</family>

<prefer>

<family>Bitstream Vera Sans</family>

<family>DejaVu Sans</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<alias>

<family>monospace</family>

<prefer>

<family>Bitstream Vera Sans Mono</family>

<family>DejaVu Sans Mono</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<match target="font" >

<test name="family" compare="contains" >

<string>Song</string>

<string>Sun</string>

<string>Kai</string>

<string>Ming</string>

</test>

<!-- check to see if the font is just regular -->

<test name="weight" compare="less_eq">

<int>100</int>

</test>

<test compare="more_eq" target="pattern" name="weight" >

<int>180</int>

</test>

<edit mode="assign" name="embolden" >

<bool>true</bool>

</edit>

</match>

<match target="font" >

<test name="family" compare="contains" >

<string>Song</string>

<string>Sun</string>

<string>Kai</string>

<string>Ming</string>

</test>

<edit name="globaladvance">

<bool>false</bool>

</edit>

<edit name="spacing">

<int>0</int>

</edit>

<edit name="hinting">

<bool>true</bool>

</edit>

<edit name="autohint">

<bool>false</bool>

</edit>

<edit name="antialias" mode="assign">

<bool>true</bool>

</edit>

<test name="pixelsize" compare="less_eq">

<int>18</int>

</test>

<edit name="antialias" mode="assign" >

<bool>false</bool>

</edit>

</match>

</fontconfig>


Firefox设置是比例字体是称线字体,剩下的是微软雅黑。
系统字体均是微软雅黑。
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北
送出感谢: 0
接收感谢: 1 次

#5

帖子 rhfcaesar » 2007-07-25 12:42

你把 Microsoft YaHei添加到language-selector文件中作为第一中文字体,然后把第二张图里那个勾去掉。试试看。
my__
帖子: 33
注册时间: 2007-07-02 16:57
送出感谢: 0
接收感谢: 0
联系:

#6

帖子 my__ » 2007-07-25 12:51

请问这样行吗?
<fontconfig>

<alias>

<family>serif</family>

<prefer>

<family>Bitstream Vera Serif</family>

<family>DejaVu Serif</family>
<family>Microsoft YaHei</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<alias>

<family>sans-serif</family>

<prefer>

<family>Bitstream Vera Sans</family>

<family>DejaVu Sans</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<alias>

<family>monospace</family>

<prefer>

<family>Bitstream Vera Sans Mono</family>

<family>DejaVu Sans Mono</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<match target="font" >

<test name="family" compare="contains" >

<string>Song</string>

<string>Sun</string>

<string>Kai</string>

<string>Ming</string>

</test>

<!-- check to see if the font is just regular -->

<test name="weight" compare="less_eq">

<int>100</int>

</test>

<test compare="more_eq" target="pattern" name="weight" >

<int>180</int>

</test>

<edit mode="assign" name="embolden" >

<bool>true</bool>

</edit>

</match>

<match target="font" >

<test name="family" compare="contains" >

<string>Song</string>

<string>Sun</string>

<string>Kai</string>

<string>Ming</string>

</test>

<edit name="globaladvance">

<bool>false</bool>

</edit>

<edit name="spacing">

<int>0</int>

</edit>

<edit name="hinting">

<bool>true</bool>

</edit>

<edit name="autohint">

<bool>false</bool>

</edit>

<edit name="antialias" mode="assign">

<bool>true</bool>

</edit>

<test name="pixelsize" compare="less_eq">

<int>18</int>

</test>

<edit name="antialias" mode="assign" >

<bool>false</bool>

</edit>

</match>

</fontconfig>
my__
帖子: 33
注册时间: 2007-07-02 16:57
送出感谢: 0
接收感谢: 0
联系:

#7

帖子 my__ » 2007-07-25 12:56

又改了一下
<fontconfig>

<alias>

<family>serif</family>

<prefer>

<family>Bitstream Vera Serif</family>

<family>DejaVu Serif</family>
<family>Microsoft YaHei</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<alias>

<family>sans-serif</family>

<prefer>

<family>Bitstream Vera Sans</family>

<family>DejaVu Sans</family>
<family>Microsoft YaHei</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<alias>

<family>monospace</family>

<prefer>

<family>Bitstream Vera Sans Mono</family>

<family>DejaVu Sans Mono</family>
<family>Microsoft YaHei</family>

<family>AR PL ShanHeiSun Uni</family>

<family>WenQuanYi Bitmap Song</family>

<family>AR PL ZenKai Uni</family>

</prefer>

</alias>

<match target="font" >

<test name="family" compare="contains" >

<string>Song</string>

<string>Sun</string>

<string>Kai</string>

<string>Ming</string>

</test>

<!-- check to see if the font is just regular -->

<test name="weight" compare="less_eq">

<int>100</int>

</test>

<test compare="more_eq" target="pattern" name="weight" >

<int>180</int>

</test>

<edit mode="assign" name="embolden" >

<bool>true</bool>

</edit>

</match>

<match target="font" >

<test name="family" compare="contains" >

<string>Song</string>

<string>Sun</string>

<string>Kai</string>

<string>Ming</string>

</test>

<edit name="globaladvance">

<bool>false</bool>

</edit>

<edit name="spacing">

<int>0</int>

</edit>

<edit name="hinting">

<bool>true</bool>

</edit>

<edit name="autohint">

<bool>false</bool>

</edit>

<edit name="antialias" mode="assign">

<bool>true</bool>

</edit>

<test name="pixelsize" compare="less_eq">

<int>18</int>

</test>

<edit name="antialias" mode="assign" >

<bool>false</bool>

</edit>

</match>

</fontconfig>
my__
帖子: 33
注册时间: 2007-07-02 16:57
送出感谢: 0
接收感谢: 0
联系:

#8

帖子 my__ » 2007-07-25 13:01

成功了!!!!谢谢几位
效果:http://hi.baidu.com/zhanghanghang/album ... 4f0be.html
回复

回到 “老旧版本支持”