[问题]用雅黒字体美化。。结果变得好模糊。。
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20
[问题]用雅黒字体美化。。结果变得好模糊。。
我用dogfox的雅黑字体美化总结http://forum.ubuntu.org.cn/viewtopic.php?t=32339
ClearType patches我也下了。。因为我的是edgy所以源就改为
deb http://www.elisanet.fi/mlind/ubuntu edgy fonts
deb-src http://www.elisanet.fi/mlind/ubuntu edgy fonts
不过下载公钥不成功,我就略过了。但可以不经验证就下载。不知道是不是这个问题呢?
之后的步骤就一样了。。。。
不过在建立字体缓存信息时有个问题。在执行下面命令前
sudo mkfontscale
sudo mkfontdir
fc-cache -fv
要不要先执行cd /usr/share/fonts/vista 呢?
还有fc-cache -fv要不要加sudo 呢?如果不加的话好像什么也做不了。
ClearType patches我也下了。。因为我的是edgy所以源就改为
deb http://www.elisanet.fi/mlind/ubuntu edgy fonts
deb-src http://www.elisanet.fi/mlind/ubuntu edgy fonts
不过下载公钥不成功,我就略过了。但可以不经验证就下载。不知道是不是这个问题呢?
之后的步骤就一样了。。。。
不过在建立字体缓存信息时有个问题。在执行下面命令前
sudo mkfontscale
sudo mkfontdir
fc-cache -fv
要不要先执行cd /usr/share/fonts/vista 呢?
还有fc-cache -fv要不要加sudo 呢?如果不加的话好像什么也做不了。
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20
是不是要改 /etc/fonts/local.conf 呢?
要怎么改呢?
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system-wide font access -->
<fontconfig>
<!--
Target dots per inch.
Uncomment following block and change 96 to your LCD or CRT actual dpi
-->
<match target="pattern" >
<edit name="dpi" mode="assign" >
<double>90</double>
</edit>
</match>
<!--
Enable LCD sub-pixel rendering.
Pay attention, subpixel rendering is exploited only on LCD not CRT.
Enable it will add some color fringing on the edge of font.It is not
always a bad thing,please sit away from your screen further enough
untill you can't observe the fringing.
Some people's LCD subpixel layout that is not rgb order will get
opposite result,there are four patterns horizontal rgb/bgr and
vertical rgb/bgr, but horizontal rgb is the most common.
Change rgb -> yours.
If you are using CRT, you may benefit from it.
If it disturb you or you prefer to the normal grayscale antialiasing,
change rgb -> none and you should also disable it for each place it
appear.
If you are using LCD, i recommand you enable it, or you can't enjoy ClearType-like
looking.
-->
<match target="font" >
<edit name="rgba" mode="assign" >
<const>rgb</const>
</edit>
</match>
<!--
Default Fonts setting for those free fonts that probably have been existed
in your system, e.g. ttf-bitstream-vera and ttf-dejavu etc.
MS Vista fonts will not use this setting.
-->
<match target="font" >
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
要怎么改呢?
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system-wide font access -->
<fontconfig>
<!--
Target dots per inch.
Uncomment following block and change 96 to your LCD or CRT actual dpi
-->
<match target="pattern" >
<edit name="dpi" mode="assign" >
<double>90</double>
</edit>
</match>
<!--
Enable LCD sub-pixel rendering.
Pay attention, subpixel rendering is exploited only on LCD not CRT.
Enable it will add some color fringing on the edge of font.It is not
always a bad thing,please sit away from your screen further enough
untill you can't observe the fringing.
Some people's LCD subpixel layout that is not rgb order will get
opposite result,there are four patterns horizontal rgb/bgr and
vertical rgb/bgr, but horizontal rgb is the most common.
Change rgb -> yours.
If you are using CRT, you may benefit from it.
If it disturb you or you prefer to the normal grayscale antialiasing,
change rgb -> none and you should also disable it for each place it
appear.
If you are using LCD, i recommand you enable it, or you can't enjoy ClearType-like
looking.
-->
<match target="font" >
<edit name="rgba" mode="assign" >
<const>rgb</const>
</edit>
</match>
<!--
Default Fonts setting for those free fonts that probably have been existed
in your system, e.g. ttf-bitstream-vera and ttf-dejavu etc.
MS Vista fonts will not use this setting.
-->
<match target="font" >
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
这个效果很好啊.
矢量字体,开了抗锯齿就是如此.很柔和(当然也就是你说的模糊 -_- ). windows也是这样.这是以后的趋势.习惯了这个,你再看看你以前喜欢的所谓的清晰的字体就感觉很粗糙了.
矢量字体,开了抗锯齿就是如此.很柔和(当然也就是你说的模糊 -_- ). windows也是这样.这是以后的趋势.习惯了这个,你再看看你以前喜欢的所谓的清晰的字体就感觉很粗糙了.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
- yumumao
- 帖子: 171
- 注册时间: 2006-09-25 3:58
-
- 帖子: 90
- 注册时间: 2006-11-24 21:20