Re: Can we get fonts as sharp as Windows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Charles A. Landemaine" <landemaine@xxxxxxxxx> さんは書きました:

> 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
distribution?

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-2.2.1.20061013.orig/include/freetype/config/ftoption.h freetype-2.2.1.20061013/include/freetype/config/ftoption.h
--- freetype-2.2.1.20061013.orig/include/freetype/config/ftoption.h	2006-09-26 23:55:44.000000000 +0200
+++ freetype-2.2.1.20061013/include/freetype/config/ftoption.h	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.                */
   /*                                                                       */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
 
 
   /*************************************************************************/


-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux