Set the font smoothing preference in DRT
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 00:13:40 +0000 (00:13 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 00:13:40 +0000 (00:13 +0000)
         This makes the pixel results on Windows closer to the Mac results.

         Reviewed by Mitz.

         * DumpRenderTree/win/DumpRenderTree.cpp:
         (initializePreferences):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28024 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp

index c2c7523..f2007ec 100644 (file)
@@ -1,5 +1,16 @@
 2007-11-25  Adam Roben  <aroben@apple.com>
 
 2007-11-25  Adam Roben  <aroben@apple.com>
 
+        Set the font smoothing preference in DRT
+
+        This makes the pixel results on Windows closer to the Mac results.
+
+        Reviewed by Mitz.
+
+        * DumpRenderTree/win/DumpRenderTree.cpp:
+        (initializePreferences):
+
+2007-11-25  Adam Roben  <aroben@apple.com>
+
         Port ImageDiff to CG and C++
 
         Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
         Port ImageDiff to CG and C++
 
         Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
index 84dc6d7..e7ed6c7 100644 (file)
@@ -702,6 +702,7 @@ static void initializePreferences(IWebPreferences* preferences)
     preferences->setPlugInsEnabled(TRUE);
     preferences->setDOMPasteAllowed(TRUE);
     preferences->setEditableLinkBehavior(WebKitEditableLinkOnlyLiveWithShiftKey);
     preferences->setPlugInsEnabled(TRUE);
     preferences->setDOMPasteAllowed(TRUE);
     preferences->setEditableLinkBehavior(WebKitEditableLinkOnlyLiveWithShiftKey);
+    preferences->setFontSmoothing(FontSmoothingTypeStandard);
 
     SysFreeString(standardFamily);
     SysFreeString(fixedFamily);
 
     SysFreeString(standardFamily);
     SysFreeString(fixedFamily);