From owner-freebsd-questions Fri Jan 31 18:28:45 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B81237B401 for ; Fri, 31 Jan 2003 18:28:44 -0800 (PST) Received: from ip24-56-36-25.ph.ph.cox.net (ip68-3-48-80.ph.ph.cox.net [68.3.48.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id C51CA43F3F for ; Fri, 31 Jan 2003 18:28:43 -0800 (PST) (envelope-from ian351c@cox.net) Received: from iansxp.iansponderosa.org (iansxp.iansponderosa.org [192.168.0.102]) by ip24-56-36-25.ph.ph.cox.net (8.12.6/8.11.4) with ESMTP id h112Sgs6032525 for ; Fri, 31 Jan 2003 19:28:43 -0700 (MST) (envelope-from ian351c@cox.net) From: Ian Cartwright To: freebsd-questions@freebsd.org Subject: XFree86 4.2.1 and freetype2 antialiasing Date: Fri, 31 Jan 2003 19:28:40 -0700 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200301311928.40225.ian351c@cox.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, I have XFree86 4.2.1 installed (via an install from FreeBSD-4.7RELEASE CD) and have also installed freetype2 from the ports collection (currently 2.1.3_1). I also have freetype-1.3.1_2 installed as a dependency for some other ports. After installing KDE 3.1 (also from the ports collection), I noticed that the only true type fonts that were anti-aliased were those included with XFree86 (the B&H Luxi family). All of the Microsoft fonts I copied from my Windows box are rendered, but none are anti-aliased, except in the KDE Font Installer preview window. I have searched high and low for a solution to this, and all the information I have so far is this: - Compile qt-3.1 with antialias support. This is the default in the ports version of qt-3.1, which is what I have installed. - Turn on anti-aliasing in the KDE Fonts Control Module. This I have done, which is why Luxi fonts work (though this does not affect the Font Installer preview). - Some articles I have found on freetype.org and Google groups indicate that the freetype library that is included in the XFree86 code is outdated. They say the solution is to use /usr/local/lib/libfreetype.so instead of /usr/X11R6/lib/modules/fonts/libfreetype.a. I have tried to do this by adding 'ModulePath "/usr/local/lib"' to my XF86Config file (above thge stock ModulePath line). This gives an error in my XFree86.0.log: "LoadModule: Module freetype does not have a freetypeModuleData data object." I cannot find any documentation that tells me what this means. Does anyone out there have any experience with this? BTW: All my ports have been installed using portupgrade (or portinstall) which I keep up to date. The only possible exception would be XFree86 which was installed from the FreeBSD-4.7 install CD. Thanks! Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message