summaryrefslogtreecommitdiff
path: root/Tools/WebKitTestRunner
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-03-27 17:12:13 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-28 16:18:30 +0100
commitf90b754393618f5eee1e44d30a7cefd5ace7e1c4 (patch)
treeb9ee112c67b7c3f2d090b0a6431fd57b7ddff6bc /Tools/WebKitTestRunner
parent3f5a0c1161d18c4f1b17bc2cb0093b03b72ac772 (diff)
downloadqtwebkit-f90b754393618f5eee1e44d30a7cefd5ace7e1c4.tar.gz
[Qt] Enable kerning by default
https://bugs.webkit.org/show_bug.cgi?id=112704 Reviewed by Jocelyn Turcotte. Source/WebKit/qt: Enable default kerning when fast kerning is available. To support layout tests that depend on kerning being off by default, a method is added to DumpRenderTreeSupportQt to reset the default. * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::resetDefaultTypesettingFeatures): * WebCoreSupport/DumpRenderTreeSupportQt.h: * WebCoreSupport/InitWebCoreQt.cpp: (WebKit::initializeWebKitQt): Tools: Disable kerning by default, since some reference test expectations expect kerning to be default off. * DumpRenderTree/qt/TestRunnerQt.cpp: (TestRunnerQt::reset): * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp: (WTR::activateFonts): Change-Id: Ifaa02c54aba8e5b113ac34163e967470228e0610 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146340 268f45cc-cd09-0410-ab3c-d52691b4dbfc Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Tools/WebKitTestRunner')
-rw-r--r--Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp b/Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp
index 332ffcf02..ff24aa5ca 100644
--- a/Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp
+++ b/Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp
@@ -39,6 +39,7 @@ void activateFonts()
{
WebKit::QtTestSupport::initializeTestFonts();
QCoreApplication::setAttribute(Qt::AA_Use96Dpi, true);
+ DumpRenderTreeSupportQt::disableDefaultTypesettingFeatures();
}
}