Title: [186599] trunk/Source/WebCore
- Revision
- 186599
- Author
- achristen...@apple.com
- Date
- 2015-07-09 11:40:34 -0700 (Thu, 09 Jul 2015)
Log Message
[WinCairo] ClearType should be enabled on Cairo port
https://bugs.webkit.org/show_bug.cgi?id=145492
Patch by Karlen Simonyan <szkar...@gmail.com> on 2015-07-09
Reviewed by Brent Fulgham.
* platform/graphics/win/FontPlatformDataCairoWin.cpp:
(WebCore::FontPlatformData::FontPlatformData):
Use CAIRO_ANTIALIAS_BEST instead of CAIRO_ANTIALIAS_GRAY.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (186598 => 186599)
--- trunk/Source/WebCore/ChangeLog 2015-07-09 18:38:39 UTC (rev 186598)
+++ trunk/Source/WebCore/ChangeLog 2015-07-09 18:40:34 UTC (rev 186599)
@@ -1,3 +1,14 @@
+2015-07-09 Karlen Simonyan <szkar...@gmail.com>
+
+ [WinCairo] ClearType should be enabled on Cairo port
+ https://bugs.webkit.org/show_bug.cgi?id=145492
+
+ Reviewed by Brent Fulgham.
+
+ * platform/graphics/win/FontPlatformDataCairoWin.cpp:
+ (WebCore::FontPlatformData::FontPlatformData):
+ Use CAIRO_ANTIALIAS_BEST instead of CAIRO_ANTIALIAS_GRAY.
+
2015-07-02 Chris Fleizach <cfleiz...@apple.com>
AX: <details> element should allow expand/close through AX API
Modified: trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp (186598 => 186599)
--- trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp 2015-07-09 18:38:39 UTC (rev 186598)
+++ trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp 2015-07-09 18:40:34 UTC (rev 186599)
@@ -77,7 +77,7 @@
// We force antialiasing and disable hinting to provide consistent
// typographic qualities for custom fonts on all platforms.
cairo_font_options_set_hint_style(options, CAIRO_HINT_STYLE_NONE);
- cairo_font_options_set_antialias(options, CAIRO_ANTIALIAS_GRAY);
+ cairo_font_options_set_antialias(options, CAIRO_ANTIALIAS_BEST);
if (syntheticOblique()) {
static const float syntheticObliqueSkew = -tanf(14 * acosf(0) / 90);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes