diff options
author | 2013-07-27 21:42:21 +0000 | |
---|---|---|
committer | 2013-07-27 21:42:21 +0000 | |
commit | 7c86d8eb3a61eae188bc8af2cd0363858eaea07e (patch) | |
tree | 2e82f10eafb250bc98b6c0822e54f91bc6513bb2 /src | |
parent | 0abbff9987b9452fd30cce198bea34fdb210ac41 (diff) |
Disable GDI slight hinting.
FontHostTest fails because 'Times New Roman' 'o' and 'g' have
a different number of points in their hinted and un-hinted versions.
Disable slight hinting until this is understood.
git-svn-id: http://skia.googlecode.com/svn/trunk@10400 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rwxr-xr-x | src/ports/SkFontHost_win.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp index 98bd3243b4..3fb0b57dae 100755 --- a/src/ports/SkFontHost_win.cpp +++ b/src/ports/SkFontHost_win.cpp @@ -2117,9 +2117,10 @@ void LogFontTypeface::onFilterRec(SkScalerContextRec* rec) const { break; case SkPaint::kSlight_Hinting: // Only do slight hinting when axis aligned. - if (!isAxisAligned(*rec)) { + // TODO: re-enable slight hinting when FontHostTest can pass. + //if (!isAxisAligned(*rec)) { h = SkPaint::kNo_Hinting; - } + //} break; case SkPaint::kNormal_Hinting: case SkPaint::kFull_Hinting: |