From ece2b0297c1d55c46b4c63ba7a54f518a490a502 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 25 Jul 2011 14:28:57 +0000 Subject: reenable rotated freetype fix, but behind #ifndef SK_IGNORE_ROTATED_FREETYPE_FIX, so chrome can disable it for now. add --match foo to gm/ so you can run just tests that substring match your pattern (foo) git-svn-id: http://skia.googlecode.com/svn/trunk@1945 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_FreeType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ports/SkFontHost_FreeType.cpp') diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index 8df0cefcb6..78a8e2aa9e 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -630,7 +630,7 @@ void SkFontHost::FilterRec(SkScalerContext::Rec* rec) { // to do subpixel, we must have at most slight hinting h = SkPaint::kSlight_Hinting; } -#if 0 // TEMPORARILY REVERT TO UNBLOCK SKIA ROLL +#ifndef SK_IGNORE_ROTATED_FREETYPE_FIX // rotated text looks bad with hinting, so we disable it as needed if (!isAxisAligned(*rec)) { h = SkPaint::kNo_Hinting; -- cgit v1.2.3