Title: [184231] trunk/Source
Revision
184231
Author
[email protected]
Date
2015-05-12 19:01:22 -0700 (Tue, 12 May 2015)

Log Message

Turn antialiased font dilation off by default
https://bugs.webkit.org/show_bug.cgi?id=144940
rdar://problem/20923031

Reviewed by Sam Weinig.
Source/WebCore:

Turn antialised font dilation off by default.

* page/Settings.cpp:
(WebCore::Settings::Settings):
* platform/graphics/FontCascade.cpp:

Source/WebKit/mac:

Turn antialised font dilation off by default.

* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):

Source/WebKit2:

Turn antialised font dilation off by default.

* Shared/WebPreferencesDefinitions.h:
* UIProcess/API/C/WKPreferencesRefPrivate.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (184230 => 184231)


--- trunk/Source/WebCore/ChangeLog	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebCore/ChangeLog	2015-05-13 02:01:22 UTC (rev 184231)
@@ -1,3 +1,17 @@
+2015-05-12  Simon Fraser  <[email protected]>
+
+        Turn antialiased font dilation off by default
+        https://bugs.webkit.org/show_bug.cgi?id=144940
+        rdar://problem/20923031
+
+        Reviewed by Sam Weinig.
+
+        Turn antialised font dilation off by default.
+
+        * page/Settings.cpp:
+        (WebCore::Settings::Settings):
+        * platform/graphics/FontCascade.cpp:
+
 2015-05-12  Alex Christensen  <[email protected]>
 
         Don't export all JS bindings classes.

Modified: trunk/Source/WebCore/page/Settings.cpp (184230 => 184231)


--- trunk/Source/WebCore/page/Settings.cpp	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebCore/page/Settings.cpp	2015-05-13 02:01:22 UTC (rev 184231)
@@ -186,7 +186,7 @@
     , m_needsAdobeFrameReloadingQuirk(false)
     , m_usesPageCache(false)
     , m_fontRenderingMode(0)
-    , m_antialiasedFontDilationEnabled(true)
+    , m_antialiasedFontDilationEnabled(false)
     , m_showTiledScrollingIndicator(false)
     , m_backgroundShouldExtendBeyondPage(false)
     , m_dnsPrefetchingEnabled(false)

Modified: trunk/Source/WebCore/platform/graphics/FontCascade.cpp (184230 => 184231)


--- trunk/Source/WebCore/platform/graphics/FontCascade.cpp	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebCore/platform/graphics/FontCascade.cpp	2015-05-13 02:01:22 UTC (rev 184231)
@@ -582,7 +582,7 @@
     return shouldUseFontSmoothing;
 }
 
-static bool antialiasedFontDilationIsEnabled = true;
+static bool antialiasedFontDilationIsEnabled = false;
 
 void FontCascade::setAntialiasedFontDilationEnabled(bool enabled)
 {

Modified: trunk/Source/WebKit/mac/ChangeLog (184230 => 184231)


--- trunk/Source/WebKit/mac/ChangeLog	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebKit/mac/ChangeLog	2015-05-13 02:01:22 UTC (rev 184231)
@@ -1,3 +1,16 @@
+2015-05-12  Simon Fraser  <[email protected]>
+
+        Turn antialiased font dilation off by default
+        https://bugs.webkit.org/show_bug.cgi?id=144940
+        rdar://problem/20923031
+
+        Reviewed by Sam Weinig.
+        
+        Turn antialised font dilation off by default.
+
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+
 2015-05-11  Daniel Bates  <[email protected]>
 
         [iOS] Close all open databases in expiration handler of process assertion

Modified: trunk/Source/WebKit/mac/WebView/WebPreferences.mm (184230 => 184231)


--- trunk/Source/WebKit/mac/WebView/WebPreferences.mm	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebKit/mac/WebView/WebPreferences.mm	2015-05-13 02:01:22 UTC (rev 184231)
@@ -418,7 +418,7 @@
         @"0",                           WebKitMinimumFontSizePreferenceKey,
         @"9",                           WebKitMinimumLogicalFontSizePreferenceKey, 
         @"16",                          WebKitDefaultFontSizePreferenceKey,
-        @(YES),                         WebKitAntialiasedFontDilationEnabledKey,
+        @(NO),                          WebKitAntialiasedFontDilationEnabledKey,
         @"13",                          WebKitDefaultFixedFontSizePreferenceKey,
         @"ISO-8859-1",                  WebKitDefaultTextEncodingNamePreferenceKey,
         [NSNumber numberWithBool:NO],   WebKitUsesEncodingDetectorPreferenceKey,

Modified: trunk/Source/WebKit2/ChangeLog (184230 => 184231)


--- trunk/Source/WebKit2/ChangeLog	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-13 02:01:22 UTC (rev 184231)
@@ -1,3 +1,16 @@
+2015-05-12  Simon Fraser  <[email protected]>
+
+        Turn antialiased font dilation off by default
+        https://bugs.webkit.org/show_bug.cgi?id=144940
+        rdar://problem/20923031
+
+        Reviewed by Sam Weinig.
+
+        Turn antialised font dilation off by default.
+
+        * Shared/WebPreferencesDefinitions.h:
+        * UIProcess/API/C/WKPreferencesRefPrivate.h:
+
 2015-05-12  Daniel Bates  <[email protected]>
 
         Make {Network, Web}ProcessProxy inherit from ProcessThrottleClient privately

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (184230 => 184231)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2015-05-13 02:01:22 UTC (rev 184231)
@@ -195,7 +195,7 @@
     macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, false) \
     macro(LongMousePressEnabled, longMousePressEnabled, Bool, bool, false) \
     macro(NewBlockInsideInlineModelEnabled, newBlockInsideInlineModelEnabled, Bool, bool, false) \
-    macro(AntialiasedFontDilationEnabled, antialiasedFontDilationEnabled, Bool, bool, true) \
+    macro(AntialiasedFontDilationEnabled, antialiasedFontDilationEnabled, Bool, bool, false) \
     macro(MetaRefreshEnabled, metaRefreshEnabled, Bool, bool, true) \
 
 #define FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h (184230 => 184231)


--- trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h	2015-05-13 01:52:52 UTC (rev 184230)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h	2015-05-13 02:01:22 UTC (rev 184231)
@@ -361,7 +361,7 @@
 WK_EXPORT void WKPreferencesSetScreenFontSubstitutionEnabled(WKPreferencesRef preferences, bool enabled);
 WK_EXPORT bool WKPreferencesGetScreenFontSubstitutionEnabled(WKPreferencesRef preferences);
 
-// Defaults to true.
+// Defaults to false.
 WK_EXPORT void WKPreferencesSetAntialiasedFontDilationEnabled(WKPreferencesRef preferences, bool enabled);
 WK_EXPORT bool WKPreferencesGetAntialiasedFontDilationEnabled(WKPreferencesRef preferences);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to