commit | efcd15d5b86039cd8ccdc5ce6777a56132677550 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Fri Jul 24 15:57:12 2009 -0400 |
committer | Mike Reed <reed@google.com> | Fri Jul 24 15:57:12 2009 -0400 |
tree | 725fe49884d545f427987fa878c408bf6a783406 | |
parent | 769e21eaac67b6b46de0e2cafc31f61fb990179e [diff] |
explictly specify hinting (new api)
diff --git a/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp b/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp index 4496408..3fcf3fe 100644 --- a/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp +++ b/WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp
@@ -147,6 +147,7 @@ paint->setAntiAlias(true); paint->setSubpixelText(true); + paint->setHinting(SkPaint::kSlight_Hinting); paint->setTextSize(SkFloatToScalar(ts)); paint->setTypeface(mTypeface); paint->setFakeBoldText(mFakeBold);