Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 19:28:40 -0700
From:      Ian Cartwright <ian351c@cox.net>
To:        freebsd-questions@freebsd.org
Subject:   XFree86 4.2.1 and freetype2 antialiasing
Message-ID:  <200301311928.40225.ian351c@cox.net>

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




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