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:
parent
2ce9a04b27
commit
0e35ca8382
@ -630,10 +630,12 @@ void SkFontHost::FilterRec(SkScalerContext::Rec* rec) {
|
|||||||
// to do subpixel, we must have at most slight hinting
|
// to do subpixel, we must have at most slight hinting
|
||||||
h = SkPaint::kSlight_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
|
// rotated text looks bad with hinting, so we disable it as needed
|
||||||
if (!isAxisAligned(*rec)) {
|
if (!isAxisAligned(*rec)) {
|
||||||
h = SkPaint::kNo_Hinting;
|
h = SkPaint::kNo_Hinting;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
rec->setHinting(h);
|
rec->setHinting(h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user