Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo 2.6.27-r8怎么开启字体渲染??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
mfkfjhhabe
n00b
n00b


Joined: 27 Sep 2007
Posts: 4

PostPosted: Sun Mar 01, 2009 2:37 pm    Post subject: gentoo 2.6.27-r8怎么开启字体渲染?? Reply with quote

:?:
查看了好多关于中文美化方面的资料,也做了不少实验,但是效效果都不是怎么好.......
看到很多用用雅黑字体的都说要开启次像素渲染(应该是字体渲染吧^_^)
但是我用layman -f -a effects时提示: Overlay "effects" does not exist!
查找了一些有关的资料说gentoo effects项目开发停止了,但是有提供研究成果下载
gentoo xeffects项目停止了
下载之后也不知道怎么使用,请各位大大指教一下,
怎么可以用git下载后的资料开启次像素渲染(字体渲染),或者手动设置????
Back to top
View user's profile Send private message
mfkfjhhabe
n00b
n00b


Joined: 27 Sep 2007
Posts: 4

PostPosted: Mon Mar 02, 2009 4:59 am    Post subject: Reply with quote

:?:有人有这方面的资料吗??
如果有请贴出资料的网址,或者直接把资料贴出来也可以
急需 :D
Back to top
View user's profile Send private message
mfkfjhhabe
n00b
n00b


Joined: 27 Sep 2007
Posts: 4

PostPosted: Thu Mar 05, 2009 6:31 am    Post subject: Reply with quote

经过几天的摸索终于找到了一些资料,不知道和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
View user's profile Send private message
aiezue
n00b
n00b


Joined: 29 Dec 2008
Posts: 8

PostPosted: Tue Mar 10, 2009 10:18 am    Post subject: Reply with quote

字体渲染?devnull或者是gentoo-china的overlay都可以。
ps: portage 里面的droid字体很好看。大家试试。
_________________
Trying to get around in Freeciv and Wesnoth....
Back to top
View user's profile Send private message
mfkfjhhabe
n00b
n00b


Joined: 27 Sep 2007
Posts: 4

PostPosted: Wed Mar 11, 2009 7:36 am    Post subject: Reply with quote

:?:要怎么设置的我用layman -a gentoo-china 提示没有找到
有没有具体的操作步骤,或者相关资料
Back to top
View user's profile Send private message
aiezue
n00b
n00b


Joined: 29 Dec 2008
Posts: 8

PostPosted: Thu Mar 12, 2009 10:05 am    Post subject: Reply with quote

mfkfjhhabe wrote:
:?:要怎么设置的我用layman -a gentoo-china 提示没有找到
有没有具体的操作步骤,或者相关资料


推荐devnull。顺便看看论坛这个帖子-- https://forums.gentoo.org/viewtopic-t-723341-highlight-subpixel.html
_________________
Trying to get around in Freeciv and Wesnoth....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum