[Webkit-unassigned] [Bug 145492] [WinCairo] ClearType should be enabled on Cairo port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 6 14:27:05 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145492

Karlen Simonyan <szkarlen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #256238|                            |review?
              Flags|                            |

--- Comment #7 from Karlen Simonyan <szkarlen at gmail.com> ---
Comment on attachment 256238
  --> https://bugs.webkit.org/attachment.cgi?id=256238
ClearType fix for custom fonts (v3)

>Index: FontPlatformDataCairoWin.cpp
>===================================================================
>--- Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp	(revision 186376)
>+++ Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp	(working copy)
>@@ -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);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150706/ce4601fa/attachment.html>


More information about the webkit-unassigned mailing list