8.10难看的字体如何解决?sina为例

系统字体配置、中文显示和输入法问题
回复
头像
kris_xu
帖子: 42
注册时间: 2007-07-31 8:36
送出感谢: 0
接收感谢: 0

8.10难看的字体如何解决?sina为例

#1

帖子 kris_xu » 2008-11-04 17:26

如图

很多网站都变成这个样子了

怎么设置字体解决这个问题?
附件
sina.jpg
上次由 kris_xu 在 2008-11-04 17:35,总共编辑 1 次。
头像
kris_xu
帖子: 42
注册时间: 2007-07-31 8:36
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#2

帖子 kris_xu » 2008-11-04 17:28

晕了,图片怎么上传不了呢?
etemp
帖子: 1
注册时间: 2008-11-02 23:56
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#3

帖子 etemp » 2008-11-04 20:40

我是参考http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=151778
把微软雅黑字体导入Ubuntu,看起来了就好多了。
头像
kumox
帖子: 2114
注册时间: 2008-04-14 23:29
来自: 曾也在NB大学呆过
送出感谢: 3 次
接收感谢: 10 次
联系:

Re: 8.10难看的字体如何解决?sina为例

#4

帖子 kumox » 2008-11-04 20:41

编辑-首选项

换字体,最多把高级里面的“允许页面选择字体”的选项去掉
hymiracle
帖子: 74
注册时间: 2007-04-18 2:57
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#5

帖子 hymiracle » 2008-11-04 21:46

这是正黑吧,看不惯就用点阵宋
redflow
帖子: 264
注册时间: 2007-05-14 23:14
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#6

帖子 redflow » 2008-11-04 23:42

现在论坛的图片怎么无法缩放成实际大小? 要么太小, 要么太大?
KDE!!!
Linux 发行版永远都是在重复造轮子。
Linux 发行版总是把应由开发者关心问题抛给普通用户。
zz2003
帖子: 15
注册时间: 2008-04-18 20:54
来自: LA
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#7

帖子 zz2003 » 2008-11-05 11:03

网页的字体在firefox里面就可以设置了吧
FangQ
帖子: 240
注册时间: 2006-03-05 13:50
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#8

帖子 FangQ » 2008-11-05 11:46

chenjia6605
帖子: 9
注册时间: 2008-10-21 16:15
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#9

帖子 chenjia6605 » 2008-11-05 17:37

如果喜欢我的效果, 可以看一下我的配置, 没有用任何微软的字体, 也可以达到理想的效果
浏览sina的效果
Screenshot.png
上次由 chenjia6605 在 2008-11-05 17:51,总共编辑 2 次。
chenjia6605
帖子: 9
注册时间: 2008-10-21 16:15
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#10

帖子 chenjia6605 » 2008-11-05 17:38

我的配置文件为.fonts.conf 将其放到用户的主目录就可以了, 不需要其任何改动

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- ~/.fonts.conf -->


<fontconfig>
<!--笔画有修饰的serif-->
<match target="pattern" >
<test name="family" qual="any" >
<string>serif</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>Bitstream Vera Serif</string>
<string>WenQuanYi Bitmap Song</string>
</edit>
</match>

<!--笔画没有修饰的sans-serif-->
<match target="pattern" >
<test name="family" qual="any" >
<string>sans-serif</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>Bitstream Vera Sans</string>
<string>WenQuanYi Bitmap Song</string>
</edit>
</match>

<!--等宽字体-->
<match target="pattern" >
<test name="family" qual="any" >
<string>monospace</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>Monospace</string>
<string>DejaVu Sans Mono</string>
<string>Bitstream Vera Sans Mono</string>
<string>WenQuanYi Zen Hei</string>
</edit>
</match>


<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif Condensed</family>
<family>DejaVu Serif</family>
<family>Bitstream Vera Serif</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>AR PL UKai CN</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Liberation Sans</family>
<family>DejaVu Sans Condensed</family>
<family>DejaVu Sans</family>
<family>Bitstream Vera Sans</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>AR PL UKai CN</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Liberation Mono</family>
<family>DejaVu Sans Mono</family>
<family>Bitstream Vera Sans Mono</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>AR PL UKai CN</family>
</prefer>
</alias>

<!-- Hinting and AA -->
<!--
-->
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>

<match target="font" >
<edit mode="assign" name="hinting" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>

<!-- close AA on small font size -->
<match target="font" >
<test compare="eq" name="family" qual="any" >
<string>WenQuanYi Bitmap Song</string>
<family>AR PL SungtiL GB</family>
</test>
<test compare="more_eq" name="pixelsize" >
<double>8</double>
</test>
<test compare="less_eq" name="pixelsize" >
<double>180</double>
</test>
<edit name="antialias" >
<bool>false</bool>
</edit>
</match>

<!-- Intended to substitute FZShuSong-Z01 with SimSun, but no effect -->
<match target="font">
<test name="family" compare="eq">
<string>WenQuanYi Bitmap Song</string>
</test>
<test compare="more_eq" name="pixelsize" >
<double>8</double>
</test>
<test compare="less_eq" name="pixelsize" >
<double>180</double>
</test>
<edit name="family" mode="assign_replace">
<string>WenQuanYi Bitmap Song</string>
</edit>
<edit name="antialias">
<bool>false</bool>
</edit>
</match>

<!-- Make CJK fonts' space better -->
<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>

<!-- substitute bold SimSun with FZHei -->
<!-- It seems that only the first one is effective,
I could write this rule more and specify one font each time. -->
<match target="pattern">
<test name="weight" compare="more">
<const>medium</const>
</test>
<test name="family" compare="eq">
<string>WenQuanYi Bitmap Song</string>
</test>
<edit name="family" mode="assign">
<string>WenQuanYi Bitmap Song</string>
</edit>
</match>

<!-- Substitute italic SimSun with FZKai -->
<match target="pattern">
<test name="slant" compare="more">
<const>italic</const>
</test>
<test name="family" compare="eq">
<string>WenQuanYi Bitmap Song</string>
</test>
<edit name="family" mode="assign">
<string>AR PL UKai CN</string>
</edit>
</match>

<!-- Use hinting on MingLiu-->
<match target="font" >
<test name="family" >
<string>AR PL Mingti2L Big5</string>
<string>AR PL UMing TW MBE</string>
</test>
<edit name="autohint" >
<bool>false</bool>
</edit>
<edit name="hinting" >
<bool>true</bool>
</edit>
</match>

<!-- Use embed bitmap font first -->
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>true</bool>
</edit>
</match>

<!-- substitute MS core fonts look better -->
<match target="font">
<test name="family">
<string>Georgia</string>
<string>Impact</string>
<string>Trebuchet MS</string>
<string>Verdana</string>
<string>Times New Roman</string>
<string>Webdings</string>
<string>Albany AMT</string>
<string>Thorndale AMT</string>
<string>Cumberland AMT</string>
<string>Andy MT</string>
<string>Bell MT</string>
</test>
<edit name="family" mode="assign">
<string>serif</string>
</edit>
</match>

<match target="font">
<test name="family">
<string>Monotype Sorts</string>
<string>Courier New</string>
</test>
<edit name="family" mode="assign">
<string>monotype</string>
</edit>
</match>

<match target="font">
<test name="family">
<string>Andale Mono</string>
<string>Arial</string>
<string>Comic Sans MS</string>
<string>Tahoma</string>
<string>Andale Sans</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>

<!--
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
-->
</fontconfig>
lzh08
帖子: 2
注册时间: 2008-11-08 21:53
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#11

帖子 lzh08 » 2008-11-09 21:43

什么是用户的主目录?
catfox
帖子: 64
注册时间: 2008-05-03 10:32
送出感谢: 0
接收感谢: 0

Re: 8.10难看的字体如何解决?sina为例

#12

帖子 catfox » 2008-11-10 13:45

9楼的文件不错!
非常不错。不用装新的字体,SINA搞定。
其他的网站也不错。

能否请9楼的兄弟说说有什么秘决?
回复

回到 “字体美化和中文支持”