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
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp
index 98bd324..3fb0b57 100755
--- a/src/ports/SkFontHost_win.cpp
+++ b/src/ports/SkFontHost_win.cpp
@@ -2117,9 +2117,10 @@
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: