patches for libXft and cairo to improve font rendering

Yuri Pankov y.pankov at irbis.net.ru
Sat Jul 1 14:45:35 UTC 2006


Hi.

There are patches for libXft and cairo, which seem to heavily improve
truetype font rendering (at least on my LCD monitor), at
http://turnerdavid.neuf.fr/freetype/patches/font-patches.html

Is there any chance that they could be added to libXft and cairo ports
(WITH_LCD_RENDERING_PATCH knob maybe)? I'm asking cause author of these
patches is unsure about licensing (cleartype patents are mentioned).

And also, recent libXft doesn't compile with cjk patch (WITH_CJK knob
defined) on recent -CURRENT/amd64:

 cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/include -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -O -g -pipe -MT xftfreetype.lo -MD -MP -MF
.deps/xftfreetype.Tpo -c xftfreetype.c  -fPIC -DPIC -o .libs/xftfreetype.o
xftfreetype.c: In function `XftFontInfoFill':
xftfreetype.c:526: error: `FC_EMBEDDED_BITMAP' undeclared (first use in
this function)
xftfreetype.c:526: error: (Each undeclared identifier is reported only once
xftfreetype.c:526: error: for each function it appears in.)
xftfreetype.c:565: error: `FC_USE_GAMMA' undeclared (first use in this
function)
gmake[1]: *** [xftfreetype.lo] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-fonts/libXft/work/libXft-2.1.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-fonts/libXft.


---
Yuri


More information about the freebsd-gnome mailing list