View previous topic :: View next topic |
Author |
Message |
mfkfjhhabe n00b
Joined: 27 Sep 2007 Posts: 4
|
Posted: Sun Mar 01, 2009 2:37 pm Post subject: gentoo 2.6.27-r8怎么开启字体渲染?? |
|
|
查看了好多关于中文美化方面的资料,也做了不少实验,但是效效果都不是怎么好.......
看到很多用用雅黑字体的都说要开启次像素渲染(应该是字体渲染吧^_^)
但是我用layman -f -a effects时提示: Overlay "effects" does not exist!
查找了一些有关的资料说gentoo effects项目开发停止了,但是有提供研究成果下载
gentoo xeffects项目停止了
下载之后也不知道怎么使用,请各位大大指教一下,
怎么可以用git下载后的资料开启次像素渲染(字体渲染),或者手动设置???? |
|
Back to top |
|
|
mfkfjhhabe n00b
Joined: 27 Sep 2007 Posts: 4
|
Posted: Mon Mar 02, 2009 4:59 am Post subject: |
|
|
有人有这方面的资料吗??
如果有请贴出资料的网址,或者直接把资料贴出来也可以
急需 |
|
Back to top |
|
|
mfkfjhhabe n00b
Joined: 27 Sep 2007 Posts: 4
|
Posted: Thu Mar 05, 2009 6:31 am Post subject: |
|
|
经过几天的摸索终于找到了一些资料,不知道和layman -a xeffects的效果是不是一样,不过现在不能解决也只好先用了,
下面献上方法
Adding overlay
To use this overlay you need to edit your /etc/layman/layman.cfg and add new overlay list:
overlays: http://www.gentoo.org/proj/en/overlays/layman-global.txt
http://bobrik-cleartype.googlecode.com/files/bobrik-cleartype.xml
Then you must add bobrik-cleartype to sync list:
layman -f
layman -a bobrik-cleartype
Upgrading packages
After all you need to rebuild new packages:
emerge -1 media-libs/freetype x11-libs/libXft x11-libs/cairo
--------------------------------------------------------------------------------
Recommended font settings
I recommend you to use full hinting and antialising. My ~/.fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig> |
|
Back to top |
|
|
aiezue n00b
Joined: 29 Dec 2008 Posts: 8
|
Posted: Tue Mar 10, 2009 10:18 am Post subject: |
|
|
字体渲染?devnull或者是gentoo-china的overlay都可以。
ps: portage 里面的droid字体很好看。大家试试。 _________________ Trying to get around in Freeciv and Wesnoth.... |
|
Back to top |
|
|
mfkfjhhabe n00b
Joined: 27 Sep 2007 Posts: 4
|
Posted: Wed Mar 11, 2009 7:36 am Post subject: |
|
|
要怎么设置的我用layman -a gentoo-china 提示没有找到
有没有具体的操作步骤,或者相关资料 |
|
Back to top |
|
|
aiezue n00b
Joined: 29 Dec 2008 Posts: 8
|
|
Back to top |
|
|
|