diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-03-27 17:08:22 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-28 16:18:16 +0100 |
commit | 3f5a0c1161d18c4f1b17bc2cb0093b03b72ac772 (patch) | |
tree | 46db077b2e67ee5a6b327ff590d8c9eb05268619 /Source/JavaScriptCore/heap/WeakSet.cpp | |
parent | 44329e0faee75171545189ad7be58ac4c36652fe (diff) | |
download | qtwebkit-3f5a0c1161d18c4f1b17bc2cb0093b03b72ac772.tar.gz |
[Qt] Support -webkit-font-smoothing
https://bugs.webkit.org/show_bug.cgi?id=106009
Reviewed by Jocelyn Turcotte.
Source/WebCore:
Set QFont antialiasing settings based on the font smoothing settings in FontDescription.
* platform/graphics/qt/FontPlatformDataQt.cpp:
(WebCore::FontPlatformData::FontPlatformData):
Source/WebKit/qt:
Export an interface so DRT can also disable font-smoothing like WTR does.
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setShouldUseFontSmoothing):
* WebCoreSupport/DumpRenderTreeSupportQt.h:
Tools:
Set shouldUseFontSmoothing to false to match WebKitTestRunner.
* DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunnerQt::reset):
Change-Id: I19457407ac310bd5de315943b631dd12dffc7683
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/heap/WeakSet.cpp')
0 files changed, 0 insertions, 0 deletions