diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 01:56:00 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 01:56:00 +0000 |
commit | f47c61458a0c89c9ec57b3bb3a51d4ef46528ca6 (patch) | |
tree | 01807b211d92462e8f54b7ad2d1dcc6bec7f9d49 /webkit/port | |
parent | ee45fed2fd2ce4cfce94f5bdb51529d8deb78bf0 (diff) | |
download | chromium_src-f47c61458a0c89c9ec57b3bb3a51d4ef46528ca6.zip chromium_src-f47c61458a0c89c9ec57b3bb3a51d4ef46528ca6.tar.gz chromium_src-f47c61458a0c89c9ec57b3bb3a51d4ef46528ca6.tar.bz2 |
Fix the set of fonts used for test_shell.
With this change, the Google homepage renders pixel exact to Firefox on my
Goobuntu box (which isn't using subpixel rendering). Note that, although the
pixels are the same, the colours are very slightly different when it comes to
anti-aliasing. I suspect this is because Skia is currently missing a gamma
table.
Review URL: http://codereview.chromium.org/11211
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r-- | webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp b/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp index 0dba7f2..b047cb334 100644 --- a/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp +++ b/webkit/port/platform/graphics/chromium/FontPlatformDataLinux.cpp @@ -50,10 +50,10 @@ FontPlatformData& FontPlatformData::operator=(const FontPlatformData& src) m_textSize = src.m_textSize; m_fakeBold = src.m_fakeBold; m_fakeItalic = src.m_fakeItalic; - + return *this; } - + void FontPlatformData::setupPaint(SkPaint* paint) const { const float ts = m_textSize > 0 ? m_textSize : 12; |