Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jul 2006 18:45:26 +0400
From:      Yuri Pankov <y.pankov@irbis.net.ru>
To:        freebsd-gnome@freebsd.org
Subject:   patches for libXft and cairo to improve font rendering
Message-ID:  <44A68A86.3030006@irbis.net.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A68A86.3030006>