LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 821|回复: 7

个人觉得XFT2是firefly的精华

[复制链接]
发表于 2004-4-10 20:39:11 | 显示全部楼层 |阅读模式
其他的都是次要的
发表于 2004-4-11 12:52:30 | 显示全部楼层
但好像没有那个包需要安装xft2啊.我只用kde,安装了Xfree,Qt,fontconfig后就能很好地显示中文了.xft2到底又什么用?能说明一下吗?
发表于 2004-4-11 13:20:19 | 显示全部楼层
最初由 kazuyuki 发表
但好像没有那个包需要安装xft2啊.我只用kde,安装了Xfree,Qt,fontconfig后就能很好地显示中文了.xft2到底又什么用?能说明一下吗?

fontconfig和xft的关系,你不知道么?我也不清楚:p
发表于 2004-4-11 14:36:06 | 显示全部楼层
最初由 kazuyuki 发表
但好像没有那个包需要安装xft2啊.我只用kde,安装了Xfree,Qt,fontconfig后就能很好地显示中文了.xft2到底又什么用?能说明一下吗?

好像xft是为了补充XFree86的,如果自己升级了加过patch的xFree就不用xft了
发表于 2004-4-11 16:35:06 | 显示全部楼层
看看fontconfig.org官方的解释:

About Xft

The current version of Xft (2.0) provides a client-side font API for X applications. It uses Fontconfig to select fonts and the X protocol for rendering them. When available, Xft uses the Render extension to accelerate text drawing. When Render is not available, Xft uses the core protocol to draw client-side glyphs. This provides completely compatible support of client-side fonts for all X servers.

Drawing anti-aliased text with the core protocol involves fetching pixels from the destination, merging in the glyphs and shipping them back. This can be a performance problem when the latency between client and server is high. Drawing non-AA text with the core protocol can be done by just sending the glyphs from the client to the server. This eliminates any latency effects and makes rendering speed depend only on bandwidth. Careful protocol selection can make the bandwidth scale linearly with the pixel size of the glyphs, so performance is acceptable, even with relatively large glyphs.

When using legacy X servers (those without Render support) across a network, disabling anti-aliased text will improve text performance so that applications are reasonably usable even if completely dependent on client-side fonts.
发表于 2004-4-11 16:35:42 | 显示全部楼层
看看fontconfig.org官方的解释:

About Xft

The current version of Xft (2.0) provides a client-side font API for X applications. It uses Fontconfig to select fonts and the X protocol for rendering them. When available, Xft uses the Render extension to accelerate text drawing. When Render is not available, Xft uses the core protocol to draw client-side glyphs. This provides completely compatible support of client-side fonts for all X servers.

Drawing anti-aliased text with the core protocol involves fetching pixels from the destination, merging in the glyphs and shipping them back. This can be a performance problem when the latency between client and server is high. Drawing non-AA text with the core protocol can be done by just sending the glyphs from the client to the server. This eliminates any latency effects and makes rendering speed depend only on bandwidth. Careful protocol selection can make the bandwidth scale linearly with the pixel size of the glyphs, so performance is acceptable, even with relatively large glyphs.

When using legacy X servers (those without Render support) across a network, disabling anti-aliased text will improve text performance so that applications are reasonably usable even if completely dependent on client-side fonts.
发表于 2004-4-12 01:11:49 | 显示全部楼层
那是不是在firefly套件中装了xft2就可以不要装xfree的升级了?
 楼主| 发表于 2004-4-12 16:29:34 | 显示全部楼层
我就是这样的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表