From d2dae96295794f95a7a38fedca8d35785f48295e Mon Sep 17 00:00:00 2001 From: "bungeman@google.com" Date: Fri, 9 Mar 2012 20:31:17 +0000 Subject: [PATCH] Use default lcd filter until we have the means to specify one. git-svn-id: http://skia.googlecode.com/svn/trunk@3358 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_FreeType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index 97663b7..f81f372 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -115,8 +115,8 @@ InitFreetype() { // Setup LCD filtering. This reduces colour fringes for LCD rendered // glyphs. #ifdef FT_LCD_FILTER_H -// err = FT_Library_SetLcdFilter(gFTLibrary, FT_LCD_FILTER_DEFAULT); - err = FT_Library_SetLcdFilter(gFTLibrary, FT_LCD_FILTER_LIGHT); + err = FT_Library_SetLcdFilter(gFTLibrary, FT_LCD_FILTER_DEFAULT); +// err = FT_Library_SetLcdFilter(gFTLibrary, FT_LCD_FILTER_LIGHT); gLCDSupport = err == 0; if (gLCDSupport) { gLCDExtra = 2; //DEFAULT and LIGHT add one pixel to each side. -- 2.7.4