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 c2c7523900f79c2588ed22e53147bcbf71db1157..f2007ec8a7ac9240e5b1100435aa440a0f7389c4 100644 (file)
@@ -1,3 +1,14 @@
+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++
index 84dc6d73fe234db29b6ae0f701ccaccf0985c532..e7ed6c7f67de83d1d3a4ecad0b3ef1f690d43fac 100644 (file)
@@ -702,6 +702,7 @@ static void initializePreferences(IWebPreferences* preferences)
     preferences->setPlugInsEnabled(TRUE);
     preferences->setDOMPasteAllowed(TRUE);
     preferences->setEditableLinkBehavior(WebKitEditableLinkOnlyLiveWithShiftKey);
+    preferences->setFontSmoothing(FontSmoothingTypeStandard);
 
     SysFreeString(standardFamily);
     SysFreeString(fixedFamily);