Temporary rollback of r1924 to unblock DEPS roll

Review URL: http://codereview.appspot.com/4817046/



git-svn-id: http://skia.googlecode.com/svn/trunk@1942 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2011-07-22 17:56:19 +00:00
parent 2ce9a04b27
commit 0e35ca8382

View File

@ -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);
}