Antialiased fonts in gtk1.x applications
I already know the answer: gdkxft :)
But I cannot compile it and I cannot figure out why! I learned to tweak
the gtk1.x fonts using the ~/.gtkrc.mine file, and I'd like to add
antialiasing (I use a couple of gtk1.x applications, such as gentoo and
mplayer).
The output I get while compiling the 1.5 package is this:
[cut coming right after the end of ./configure]
In file included from /usr/include/X11/Xft/Xft.h:41,
from gdkxft.c:29:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from gdkxft.c:29:
/usr/include/X11/Xft/Xft.h:42:10: #include expects "FILENAME" or <FILENAME>
In file included from gdkxft.c:29:
/usr/include/X11/Xft/Xft.h:59: error: syntax error before "_XftFTlibrary"
/usr/include/X11/Xft/Xft.h:93: error: syntax error before "FT_UInt"
/usr/include/X11/Xft/Xft.h:96: error: syntax error before '}' token
/usr/include/X11/Xft/Xft.h:100: error: syntax error before "FT_UInt"
/usr/include/X11/Xft/Xft.h:103: error: syntax error before '}' token
/usr/include/X11/Xft/Xft.h:197: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:263: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:269: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:302: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:361: error: syntax error before "XftLockFace"
/usr/include/X11/Xft/Xft.h:400: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:406: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:415: error: syntax error before "FT_UInt"
/usr/include/X11/Xft/Xft.h:425: error: syntax error before "XftCharIndex"
/usr/include/X11/Xft/Xft.h:468: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:479: error: syntax error before '*' token
/usr/include/X11/Xft/Xft.h:500: error: syntax error before '*' token
gdkxft.c: In function `code_conversion':
gdkxft.c:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [gdkxft.lo] Error 1
make[2]: Leaving directory `/home/jack/install/gdkxft-1.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jack/install/gdkxft-1.5'
make: *** [build-stamp] Error 2
I have the ftheader.h file and is positioned in
/usr/include/freetype2/freetype/config/ftheader.h
I kind of see the solution (an "include" problem) but I don't know how to
do this.
Thanks for any help, and for any other suggestion to antialias gtk1.x
fonts!
--
Best Regards, Jack
Linux user #264449
Now on iBook!
Reply to: