diff options
-rw-r--r-- | src/ports/SkFontHost_FreeType.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index be5446e0f0..8df0cefcb6 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -630,10 +630,12 @@ 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 // rotated text looks bad with hinting, so we disable it as needed if (!isAxisAligned(*rec)) { h = SkPaint::kNo_Hinting; } +#endif rec->setHinting(h); } |