QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1855|回复: 9

编译XFree86的4.3版要打补丁来支持好的中文显示效果吗

[复制链接]
发表于 2004-2-16 11:41:22 | 显示全部楼层 |阅读模式
我只看到:
fontconfig
freetype
pango
xft2
的firefly的patch;但是slackware91的中文patch中又有xfree86的。
谢谢!
发表于 2004-2-23 14:32:24 | 显示全部楼层
slackware把freetype和xft2放到xfree里面了,所以就有xfree。
回复

使用道具 举报

 楼主| 发表于 2004-2-25 22:40:24 | 显示全部楼层
在xfree86的4.3.0版的源码中发现有
fontconf
freetype
xft2
xft
的目录
可以把firefly的patch打在这里吗?
还是要在编译xfree86前安装打过patch的fontconf、freetype、xft2呢?
谢谢!
回复

使用道具 举报

发表于 2004-2-26 09:54:23 | 显示全部楼层
可以,打过补丁的xfree不就是这样做的吗
回复

使用道具 举报

 楼主| 发表于 2004-2-26 10:51:16 | 显示全部楼层
whre can I find firefly pathced xfree86 source ?
or
where can I find firefly patches for xfree86 4.3 source ?
thx!
回复

使用道具 举报

发表于 2004-2-26 15:19:40 | 显示全部楼层
You don't. Xfree86 source needs no patches at all. The source for fontconfig, freetype and
xft2 is separated from xfree86 (perhaps because Keith's leave). Slackware just added these sources into official xfree86 source tree and build them together. So you can still use firefly's patches on them, and add them into Xfree86.
An alternative is that you build separated freetype, fontconfig and xft2 packages, and install them on top of Slackware's xfree.
回复

使用道具 举报

 楼主| 发表于 2004-2-26 20:09:57 | 显示全部楼层
那我先编译安装打了补丁的freetype、fontconf、xft2,然后再编译官方的xfree86 4.3可以达到预期的效果吗?不知道要不要再xfree86的源码中设置freetype fontconf xft2的安装位置。而且我在xfree86的4.3版的源码中确实看到了freetype fontconf xft2的代码,如果没什么设置编译xfree86岂不是重新安装了一遍没打过布丁的freetype fontconf xft2。
回复

使用道具 举报

发表于 2004-3-2 17:41:29 | 显示全部楼层
装完xfree再装freetype, fontconf, xft2吧,我看了一下自己编译的xfree,里面没有freetype, fontconfig 和xft2。因为我在host.def里面指定了
#define HasFreetype2             YES
#define UseFreetype2             YES
#define HasExpat                 YES
#define UseExpat                 YES
#define HasFontconfig            YES
#define UseFontconfig            YES
#define HasLibpng                YES
#define HasZlib                  YES
回复

使用道具 举报

 楼主| 发表于 2004-3-2 19:35:07 | 显示全部楼层
我找遍了:XFree86 4.3下: xc/config/cf/README 文件中也没找到这几个参数啊,难道可以自己按这个格式写?
[quote:da99dd99df="bart"]装完xfree再装freetype, fontconf, xft2吧,我看了一下自己编译的xfree,里面没有freetype, fontconfig 和xft2。因为我在host.def里面指定了
#define HasFreetype2             YES
#define UseFreetype2             YES
#define HasExpat                 YES
#define UseExpat                 YES
#define HasFontconfig            YES
#define UseFontconfig            YES
#define HasLibpng                YES
#define HasZlib                  YES[/quote]
回复

使用道具 举报

发表于 2004-3-4 10:26:17 | 显示全部楼层
这里是我的host.def,自己改的,供参考,具体的参数可能根据你的cpu改一下。放到xc/config/cf/host.def

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-5 06:38 , Processed in 0.151561 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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