打印

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

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

我只看到:
fontconfig
freetype
pango
xft2
的firefly的patch;但是slackware91的中文patch中又有xfree86的。
谢谢!

TOP

slackware把freetype和xft2放到xfree里面了,所以就有xfree。
-------------------------------- At first, there were human. For the time, they were good.

TOP

在xfree86的4.3.0版的源码中发现有
fontconf
freetype
xft2
xft
的目录
可以把firefly的patch打在这里吗?
还是要在编译xfree86前安装打过patch的fontconf、freetype、xft2呢?
谢谢!

TOP

可以,打过补丁的xfree不就是这样做的吗
-------------------------------- At first, there were human. For the time, they were good.

TOP

whre can I find firefly pathced xfree86 source ?
or
where can I find firefly patches for xfree86 4.3 source ?
thx!

TOP

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.
-------------------------------- At first, there were human. For the time, they were good.

TOP

那我先编译安装打了补丁的freetype、fontconf、xft2,然后再编译官方的xfree86 4.3可以达到预期的效果吗?不知道要不要再xfree86的源码中设置freetype fontconf xft2的安装位置。而且我在xfree86的4.3版的源码中确实看到了freetype fontconf xft2的代码,如果没什么设置编译xfree86岂不是重新安装了一遍没打过布丁的freetype fontconf xft2。

TOP

装完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
-------------------------------- At first, there were human. For the time, they were good.

TOP

我找遍了: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]

TOP

这里是我的host.def,自己改的,供参考,具体的参数可能根据你的cpu改一下。放到xc/config/cf/host.def
附件: 您所在的用户组无法下载或查看附件
-------------------------------- At first, there were human. For the time, they were good.

TOP