<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[182824] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/182824">182824</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2015-04-14 17:26:23 -0700 (Tue, 14 Apr 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Re-enable custom dilation for antialiased fonts
https://bugs.webkit.org/show_bug.cgi?id=143738

Reviewed by Tim Horton.

Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
a private WebKit pref. This pref defaults to YES, enabling the feature by default
in WK1 as we do for WK2.

Source/WebCore:

* platform/graphics/cocoa/FontCascadeCocoa.mm:
(WebCore::dilationSizeForTextColor):
(WebCore::FontCascade::drawGlyphs):

Source/WebKit/mac:

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences setAntialiasedFontDilationEnabled:]):
(-[WebPreferences antialiasedFontDilationEnabled]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Tools:

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebPreferencesToConsistentValues):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetPreferencesToConsistentValues):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscocoaFontCascadeCocoamm">trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferenceKeysPrivateh">trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesmm">trunk/Source/WebKit/mac/WebView/WebPreferences.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesPrivateh">trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreemm">trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm</a></li>
<li><a href="#trunkToolsWebKitTestRunnerTestControllercpp">trunk/Tools/WebKitTestRunner/TestController.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebCore/ChangeLog        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2015-04-14  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Re-enable custom dilation for antialiased fonts
+        https://bugs.webkit.org/show_bug.cgi?id=143738
+
+        Reviewed by Tim Horton.
+        
+        Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
+        but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
+        a private WebKit pref. This pref defaults to YES, enabling the feature by default
+        in WK1 as we do for WK2.
+
+        * platform/graphics/cocoa/FontCascadeCocoa.mm:
+        (WebCore::dilationSizeForTextColor):
+        (WebCore::FontCascade::drawGlyphs):
+
</ins><span class="cx"> 2015-04-14  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Content Filtering] Use ASSERT_WITH_SECURITY_IMPLICATION for verifying types from NEFilterSource
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscocoaFontCascadeCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCascadeCocoa.mm        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -203,6 +203,26 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+#if PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101100
+static CGSize dilationSizeForTextColor(const Color&amp; color)
+{
+    double hue;
+    double saturation;
+    double lightness;
+    color.getHSL(hue, saturation, lightness);
+    
+    // These values were derived empirically, and are only experimental.
+    if (lightness &lt; 0.3333) // Dark
+        return CGSizeMake(0.007, 0.019);
+
+    if (lightness &lt; 0.6667) // Medium
+        return CGSizeMake(0.032, 0.032);
+
+    // Light
+    return CGSizeMake(0.0475, 0.039);
+}
+#endif
+
</ins><span class="cx"> void FontCascade::drawGlyphs(GraphicsContext* context, const Font* font, const GlyphBuffer&amp; glyphBuffer, int from, int numGlyphs, const FloatPoint&amp; anchorPoint) const
</span><span class="cx"> {
</span><span class="cx">     const FontPlatformData&amp; platformData = font-&gt;platformData();
</span><span class="lines">@@ -257,7 +277,18 @@
</span><span class="cx">         originalShouldUseFontSmoothing = CGContextGetShouldSmoothFonts(cgContext);
</span><span class="cx">         CGContextSetShouldSmoothFonts(cgContext, shouldSmoothFonts);
</span><span class="cx">     }
</span><ins>+    
+#if __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101100
+    CGFontAntialiasingStyle oldAntialiasingStyle;
+    bool resetAntialiasingStyle = false;
+    if (antialiasedFontDilationEnabled() &amp;&amp; !CGContextGetShouldSmoothFonts(cgContext) &amp;&amp; matchAntialiasedAndSmoothedFonts) {
+        resetAntialiasingStyle = true;
+        oldAntialiasingStyle = CGContextGetFontAntialiasingStyle(cgContext);
+        CGContextSetFontAntialiasingStyle(cgContext, kCGFontAntialiasingStyleUnfilteredCustomDilation);
+        CGContextSetFontDilation(cgContext, dilationSizeForTextColor(context-&gt;fillColor()));
+    }
</ins><span class="cx"> #endif
</span><ins>+#endif
</ins><span class="cx"> 
</span><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx">     NSFont* drawFont = [platformData.nsFont() printerFont];
</span><span class="lines">@@ -374,6 +405,11 @@
</span><span class="cx">         context-&gt;setShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
</span><span class="cx"> 
</span><span class="cx"> #if !PLATFORM(IOS)
</span><ins>+#if __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101100
+    if (resetAntialiasingStyle)
+        CGContextSetFontAntialiasingStyle(cgContext, oldAntialiasingStyle);
+#endif
+    
</ins><span class="cx">     if (changeFontSmoothing)
</span><span class="cx">         CGContextSetShouldSmoothFonts(cgContext, originalShouldUseFontSmoothing);
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebKit/mac/ChangeLog        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2015-04-14  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Re-enable custom dilation for antialiased fonts
+        https://bugs.webkit.org/show_bug.cgi?id=143738
+
+        Reviewed by Tim Horton.
+        
+        Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
+        but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
+        a private WebKit pref. This pref defaults to YES, enabling the feature by default
+        in WK1 as we do for WK2.
+
+        * WebView/WebPreferenceKeysPrivate.h:
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+        (-[WebPreferences setAntialiasedFontDilationEnabled:]):
+        (-[WebPreferences antialiasedFontDilationEnabled]):
+        * WebView/WebPreferencesPrivate.h:
+        * WebView/WebView.mm:
+        (-[WebView _preferencesChanged:]):
+
</ins><span class="cx"> 2015-04-13  Brady Eidson  &lt;beidson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Share sheets from Share menus appear outside the browser window.
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferenceKeysPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -159,6 +159,7 @@
</span><span class="cx"> #define WebKitPDFDisplayModePreferenceKey @&quot;WebKitPDFDisplayMode&quot;
</span><span class="cx"> #define WebKitPDFScaleFactorPreferenceKey @&quot;WebKitPDFScaleFactor&quot;
</span><span class="cx"> #endif
</span><ins>+
</ins><span class="cx"> #define WebKitUseSiteSpecificSpoofingPreferenceKey @&quot;WebKitUseSiteSpecificSpoofing&quot;
</span><span class="cx"> #define WebKitEditableLinkBehaviorPreferenceKey @&quot;WebKitEditableLinkBehavior&quot;
</span><span class="cx"> #define WebKitCacheModelPreferenceKey @&quot;WebKitCacheModelPreferenceKey&quot;
</span><span class="lines">@@ -167,10 +168,9 @@
</span><span class="cx"> #define WebKitBackspaceKeyNavigationEnabledKey @&quot;WebKitBackspaceKeyNavigationEnabled&quot;
</span><span class="cx"> #define WebKitIncrementalRenderingSuppressionTimeoutInSecondsKey @&quot;WebKitIncrementalRenderingSuppressionTimeoutInSeconds&quot;
</span><span class="cx"> #define WebKitWantsBalancedSetDefersLoadingBehaviorKey @&quot;WebKitWantsBalancedSetDefersLoadingBehavior&quot;
</span><del>-
</del><span class="cx"> #define WebKitDebugFullPageZoomPreferenceKey @&quot;WebKitDebugFullPageZoomPreferenceKey&quot;
</span><del>-
</del><span class="cx"> #define WebKitMinimumZoomFontSizePreferenceKey @&quot;WebKitMinimumZoomFontSizePreferenceKey&quot;
</span><ins>+#define WebKitAntialiasedFontDilationEnabledKey @&quot;AntialiasedFontDilationEnabled&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if TARGET_OS_IPHONE
</span><span class="cx"> #define WebKitStandalonePreferenceKey @&quot;WebKitStandalonePreferenceKey&quot;
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferences.mm (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -417,6 +417,7 @@
</span><span class="cx">         @&quot;0&quot;,                           WebKitMinimumFontSizePreferenceKey,
</span><span class="cx">         @&quot;9&quot;,                           WebKitMinimumLogicalFontSizePreferenceKey, 
</span><span class="cx">         @&quot;16&quot;,                          WebKitDefaultFontSizePreferenceKey,
</span><ins>+        @(YES),                         WebKitAntialiasedFontDilationEnabledKey,
</ins><span class="cx">         @&quot;13&quot;,                          WebKitDefaultFixedFontSizePreferenceKey,
</span><span class="cx">         @&quot;ISO-8859-1&quot;,                  WebKitDefaultTextEncodingNamePreferenceKey,
</span><span class="cx">         [NSNumber numberWithBool:NO],   WebKitUsesEncodingDetectorPreferenceKey,
</span><span class="lines">@@ -2483,6 +2484,16 @@
</span><span class="cx">     [self _setStringValue:directory forKey:WebKitMediaKeysStorageDirectoryKey];
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (void)setAntialiasedFontDilationEnabled:(BOOL)enabled
+{
+    [self _setBoolValue:enabled forKey:WebKitAntialiasedFontDilationEnabledKey];
+}
+
+- (BOOL)antialiasedFontDilationEnabled
+{
+    return [self _boolValueForKey:WebKitAntialiasedFontDilationEnabledKey];
+}
+
</ins><span class="cx"> @end
</span><span class="cx"> 
</span><span class="cx"> @implementation WebPreferences (WebInternal)
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -436,6 +436,9 @@
</span><span class="cx"> - (void)setMediaKeysStorageDirectory:(NSString *)directory;
</span><span class="cx"> - (NSString *)mediaKeysStorageDirectory;
</span><span class="cx"> 
</span><ins>+- (void)setAntialiasedFontDilationEnabled:(BOOL)flag;
+- (BOOL)antialiasedFontDilationEnabled;
+
</ins><span class="cx"> #if TARGET_OS_IPHONE &amp;&amp; __IPHONE_OS_VERSION_MIN_REQUIRED &lt; 80000
</span><span class="cx"> - (void)_setAllowCompositingLayerVisualDegradation:(BOOL)flag;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -2212,6 +2212,7 @@
</span><span class="cx">     settings.setUsesEncodingDetector([preferences usesEncodingDetector]);
</span><span class="cx">     settings.setFantasyFontFamily([preferences fantasyFontFamily]);
</span><span class="cx">     settings.setFixedFontFamily([preferences fixedFontFamily]);
</span><ins>+    settings.setAntialiasedFontDilationEnabled([preferences antialiasedFontDilationEnabled]);
</ins><span class="cx">     settings.setForceFTPDirectoryListings([preferences _forceFTPDirectoryListings]);
</span><span class="cx">     settings.setFTPDirectoryTemplatePath([preferences _ftpDirectoryTemplatePath]);
</span><span class="cx">     settings.setLocalStorageDatabasePath([preferences _localStorageDatabasePath]);
</span><span class="lines">@@ -2259,8 +2260,6 @@
</span><span class="cx">     settings.setXSSAuditorEnabled([preferences isXSSAuditorEnabled]);
</span><span class="cx">     settings.setDNSPrefetchingEnabled([preferences isDNSPrefetchingEnabled]);
</span><span class="cx">     
</span><del>-    // FIXME: Enabling accelerated compositing when WebGL is enabled causes tests to fail on Leopard which expect HW compositing to be disabled.
-    // Until we fix that, I will comment out the test (CFM)
</del><span class="cx">     settings.setAcceleratedCompositingEnabled([preferences acceleratedCompositingEnabled]);
</span><span class="cx">     settings.setAcceleratedDrawingEnabled([preferences acceleratedDrawingEnabled]);
</span><span class="cx">     settings.setCanvasUsesAcceleratedDrawing([preferences canvasUsesAcceleratedDrawing]);    
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Tools/ChangeLog        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2015-04-14  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Re-enable custom dilation for antialiased fonts
+        https://bugs.webkit.org/show_bug.cgi?id=143738
+
+        Reviewed by Tim Horton.
+        
+        Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
+        but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
+        a private WebKit pref. This pref defaults to YES, enabling the feature by default
+        in WK1 as we do for WK2.
+
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        (resetWebPreferencesToConsistentValues):
+        * WebKitTestRunner/TestController.cpp:
+        (WTR::TestController::resetPreferencesToConsistentValues):
+
</ins><span class="cx"> 2015-04-14  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Correct layering violation in DumpRenderTree Build
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreemm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -856,6 +856,7 @@
</span><span class="cx">     [preferences setPictographFontFamily:@&quot;Apple Color Emoji&quot;];
</span><span class="cx">     [preferences setDefaultFontSize:16];
</span><span class="cx">     [preferences setDefaultFixedFontSize:13];
</span><ins>+    [preferences setAntialiasedFontDilationEnabled:NO];
</ins><span class="cx">     [preferences setMinimumFontSize:0];
</span><span class="cx">     [preferences setDefaultTextEncodingName:@&quot;ISO-8859-1&quot;];
</span><span class="cx">     [preferences setJavaEnabled:NO];
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerTestControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (182823 => 182824)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/TestController.cpp        2015-04-15 00:20:54 UTC (rev 182823)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp        2015-04-15 00:26:23 UTC (rev 182824)
</span><span class="lines">@@ -560,6 +560,7 @@
</span><span class="cx">     WKPreferencesResetTestRunnerOverrides(preferences);
</span><span class="cx">     WKPreferencesSetOfflineWebApplicationCacheEnabled(preferences, true);
</span><span class="cx">     WKPreferencesSetFontSmoothingLevel(preferences, kWKFontSmoothingLevelNoSubpixelAntiAliasing);
</span><ins>+    WKPreferencesSetAntialiasedFontDilationEnabled(preferences, false);
</ins><span class="cx">     WKPreferencesSetXSSAuditorEnabled(preferences, false);
</span><span class="cx">     WKPreferencesSetWebAudioEnabled(preferences, true);
</span><span class="cx">     WKPreferencesSetMediaStreamEnabled(preferences, true);
</span></span></pre>
</div>
</div>

</body>
</html>