Changeset 184231 in webkit


Ignore:
Timestamp:
May 12, 2015 7:01:22 PM (9 years ago)
Author:
Simon Fraser
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:
Location:
trunk/Source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r184228 r184231  
     12015-05-12  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Turn antialiased font dilation off by default
     4        https://bugs.webkit.org/show_bug.cgi?id=144940
     5        rdar://problem/20923031
     6
     7        Reviewed by Sam Weinig.
     8
     9        Turn antialised font dilation off by default.
     10
     11        * page/Settings.cpp:
     12        (WebCore::Settings::Settings):
     13        * platform/graphics/FontCascade.cpp:
     14
    1152015-05-12  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/WebCore/page/Settings.cpp

    r184066 r184231  
    187187    , m_usesPageCache(false)
    188188    , m_fontRenderingMode(0)
    189     , m_antialiasedFontDilationEnabled(true)
     189    , m_antialiasedFontDilationEnabled(false)
    190190    , m_showTiledScrollingIndicator(false)
    191191    , m_backgroundShouldExtendBeyondPage(false)
  • trunk/Source/WebCore/platform/graphics/FontCascade.cpp

    r183169 r184231  
    583583}
    584584
    585 static bool antialiasedFontDilationIsEnabled = true;
     585static bool antialiasedFontDilationIsEnabled = false;
    586586
    587587void FontCascade::setAntialiasedFontDilationEnabled(bool enabled)
  • trunk/Source/WebKit/mac/ChangeLog

    r184105 r184231  
     12015-05-12  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Turn antialiased font dilation off by default
     4        https://bugs.webkit.org/show_bug.cgi?id=144940
     5        rdar://problem/20923031
     6
     7        Reviewed by Sam Weinig.
     8       
     9        Turn antialised font dilation off by default.
     10
     11        * WebView/WebPreferences.mm:
     12        (+[WebPreferences initialize]):
     13
    1142015-05-11  Daniel Bates  <dabates@apple.com>
    215
  • trunk/Source/WebKit/mac/WebView/WebPreferences.mm

    r183682 r184231  
    419419        @"9",                           WebKitMinimumLogicalFontSizePreferenceKey,
    420420        @"16",                          WebKitDefaultFontSizePreferenceKey,
    421         @(YES),                         WebKitAntialiasedFontDilationEnabledKey,
     421        @(NO),                          WebKitAntialiasedFontDilationEnabledKey,
    422422        @"13",                          WebKitDefaultFixedFontSizePreferenceKey,
    423423        @"ISO-8859-1",                  WebKitDefaultTextEncodingNamePreferenceKey,
  • trunk/Source/WebKit2/ChangeLog

    r184223 r184231  
     12015-05-12  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Turn antialiased font dilation off by default
     4        https://bugs.webkit.org/show_bug.cgi?id=144940
     5        rdar://problem/20923031
     6
     7        Reviewed by Sam Weinig.
     8
     9        Turn antialised font dilation off by default.
     10
     11        * Shared/WebPreferencesDefinitions.h:
     12        * UIProcess/API/C/WKPreferencesRefPrivate.h:
     13
    1142015-05-12  Daniel Bates  <dabates@apple.com>
    215
  • trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h

    r183682 r184231  
    196196    macro(LongMousePressEnabled, longMousePressEnabled, Bool, bool, false) \
    197197    macro(NewBlockInsideInlineModelEnabled, newBlockInsideInlineModelEnabled, Bool, bool, false) \
    198     macro(AntialiasedFontDilationEnabled, antialiasedFontDilationEnabled, Bool, bool, true) \
     198    macro(AntialiasedFontDilationEnabled, antialiasedFontDilationEnabled, Bool, bool, false) \
    199199    macro(MetaRefreshEnabled, metaRefreshEnabled, Bool, bool, true) \
    200200
  • trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h

    r183682 r184231  
    362362WK_EXPORT bool WKPreferencesGetScreenFontSubstitutionEnabled(WKPreferencesRef preferences);
    363363
    364 // Defaults to true.
     364// Defaults to false.
    365365WK_EXPORT void WKPreferencesSetAntialiasedFontDilationEnabled(WKPreferencesRef preferences, bool enabled);
    366366WK_EXPORT bool WKPreferencesGetAntialiasedFontDilationEnabled(WKPreferencesRef preferences);
Note: See TracChangeset for help on using the changeset viewer.