[Fontconfig] Re: Can we get fonts as sharp as Windows?

Mike FABIAN mfabian at suse.de
Thu Feb 15 09:06:58 PST 2007

"Charles A. Landemaine" <landemaine at gmail.com> さんは書きました:

> Thanks Mike. I tried to compile Freetype with subpixel hinting support
> but I didn't have this option. Any idea?

So which version of freetype are you using? And which Linux

If you have a freetype newer than 2.2.1, you need to define the option
FT_CONFIG_OPTION_SUBPIXEL_RENDERING in freetype/config/ftoption.h
as shown in the patch below.

If you freetype is 2.2.1 or older, subpixel hinting is already
compiled in. In that case (old freetype), you just need to enable it
in your fontconfig setup.

diff -ru freetype- freetype-
--- freetype-	2006-09-26 23:55:44.000000000 +0200
+++ freetype-	2006-10-19 14:12:48.000000000 +0200
@@ -92,7 +92,7 @@
   /* This is done to allow FreeType clients to run unmodified, forcing     */
   /* them to display normal gray-level anti-aliased glyphs.                */
   /*                                                                       */

Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
I � Unicode

More information about the Fontconfig mailing list