From owner-freebsd-gnome@FreeBSD.ORG Sat Jul 1 14:45:35 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D79E16A407 for ; Sat, 1 Jul 2006 14:45:35 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from navarro.irbis.net.ru (navarro.irbis.net.ru [85.118.141.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 077AF43D46 for ; Sat, 1 Jul 2006 14:45:34 +0000 (GMT) (envelope-from y.pankov@irbis.net.ru) Received: by navarro.irbis.net.ru (Postfix, from userid 106) id 3437D6278AE; Sat, 1 Jul 2006 18:45:33 +0400 (MSD) Received: from [192.168.0.64] (klamath.irbis.net.ru [192.168.0.64]) by navarro.irbis.net.ru (Postfix) with ESMTP id 3DC306278AA for ; Sat, 1 Jul 2006 18:45:32 +0400 (MSD) Message-ID: <44A68A86.3030006@irbis.net.ru> Date: Sat, 01 Jul 2006 18:45:26 +0400 From: Yuri Pankov User-Agent: Thunderbird 1.5.0.4 (X11/20060630) MIME-Version: 1.0 To: freebsd-gnome@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: patches for libXft and cairo to improve font rendering X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 14:45:35 -0000 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