diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 02:57:10 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 02:57:10 +0000 |
commit | f02b87431ba2174fe6b22d893ded486fc0cd499e (patch) | |
tree | 202fce21f75aa132bc44adb8c300678036e4d242 | |
parent | 9bcefe3f12c98f07a94c3de4a9651ecc066a848f (diff) | |
download | chromium_src-f02b87431ba2174fe6b22d893ded486fc0cd499e.zip chromium_src-f02b87431ba2174fe6b22d893ded486fc0cd499e.tar.gz chromium_src-f02b87431ba2174fe6b22d893ded486fc0cd499e.tar.bz2 |
Switch off subpixel hinting.
Since subpixel rendering isn't enabled yet, hinting at the subpixel level just
introduces artifacts, esp when selecting text.
Reviewed in person by evan
TBR=evan
Review URL: http://codereview.chromium.org/10732
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5443 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp b/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp index 7871f60..0dba7f2 100644 --- a/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp +++ b/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp @@ -59,7 +59,7 @@ void FontPlatformData::setupPaint(SkPaint* paint) const const float ts = m_textSize > 0 ? m_textSize : 12; paint->setAntiAlias(true); - paint->setSubpixelText(true); + paint->setSubpixelText(false); paint->setTextSize(SkFloatToScalar(ts)); paint->setTypeface(m_typeface); paint->setFakeBoldText(m_fakeBold); |