Title: [227000] trunk/Source/WebCore
Revision
227000
Author
[email protected]
Date
2018-01-16 13:52:09 -0800 (Tue, 16 Jan 2018)

Log Message

Text looks bad on some CSS spec pages
https://bugs.webkit.org/show_bug.cgi?id=181700
rdar://problem/36552107

Reviewed by Tim Horton.

When making new tiles in a TileController, we failed to set their "supports antialiased layer text"
setting, so tile caches could end up with a mixture of layers that do and do not support
antialiased layer text.

No tests because the tiled drawing tests don't dump out tiles inside of tile caches.

* platform/graphics/ca/TileController.cpp:
(WebCore::TileController::createTileLayer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (226999 => 227000)


--- trunk/Source/WebCore/ChangeLog	2018-01-16 21:14:35 UTC (rev 226999)
+++ trunk/Source/WebCore/ChangeLog	2018-01-16 21:52:09 UTC (rev 227000)
@@ -1,3 +1,20 @@
+2018-01-16  Simon Fraser  <[email protected]>
+
+        Text looks bad on some CSS spec pages
+        https://bugs.webkit.org/show_bug.cgi?id=181700
+        rdar://problem/36552107
+
+        Reviewed by Tim Horton.
+
+        When making new tiles in a TileController, we failed to set their "supports antialiased layer text"
+        setting, so tile caches could end up with a mixture of layers that do and do not support
+        antialiased layer text.
+
+        No tests because the tiled drawing tests don't dump out tiles inside of tile caches.
+
+        * platform/graphics/ca/TileController.cpp:
+        (WebCore::TileController::createTileLayer):
+
 2018-01-16  Said Abou-Hallawa  <[email protected]>
 
         REGRESSION(r221292): svg/animations/animateTransform-pattern-transform.html crashes with security assertion

Modified: trunk/Source/WebCore/platform/graphics/ca/TileController.cpp (226999 => 227000)


--- trunk/Source/WebCore/platform/graphics/ca/TileController.cpp	2018-01-16 21:14:35 UTC (rev 226999)
+++ trunk/Source/WebCore/platform/graphics/ca/TileController.cpp	2018-01-16 21:52:09 UTC (rev 227000)
@@ -743,6 +743,7 @@
     layer->setContentsScale(m_deviceScaleFactor * temporaryScaleFactor);
     layer->setAcceleratesDrawing(m_acceleratesDrawing);
     layer->setWantsDeepColorBackingStore(m_wantsDeepColorBackingStore);
+    layer->setSupportsSubpixelAntialiasedText(m_supportsSubpixelAntialiasedText);
 
     layer->setNeedsDisplay();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to