diff options
author | Mike Reed <reed@google.com> | 2009-07-24 15:57:12 -0400 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2009-07-24 15:57:12 -0400 |
commit | efcd15d5b86039cd8ccdc5ce6777a56132677550 (patch) | |
tree | 725fe49884d545f427987fa878c408bf6a783406 /WebCore/platform | |
parent | 769e21eaac67b6b46de0e2cafc31f61fb990179e (diff) | |
download | external_webkit-efcd15d5b86039cd8ccdc5ce6777a56132677550.zip external_webkit-efcd15d5b86039cd8ccdc5ce6777a56132677550.tar.gz external_webkit-efcd15d5b86039cd8ccdc5ce6777a56132677550.tar.bz2 |
explictly specify hinting (new api)
Diffstat (limited to 'WebCore/platform')
-rw-r--r-- | WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ void FontPlatformData::setupPaint(SkPaint* paint) const paint->setAntiAlias(true); paint->setSubpixelText(true); + paint->setHinting(SkPaint::kSlight_Hinting); paint->setTextSize(SkFloatToScalar(ts)); paint->setTypeface(mTypeface); paint->setFakeBoldText(mFakeBold); |