Commit 697b2ef0 authored by eric@webkit.org's avatar eric@webkit.org

2009-08-25 Yusuke Sato <yusukes@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Complex text doesn't show up with text stroking
        https://bugs.webkit.org/show_bug.cgi?id=28707

        Skip the NULL check of m_hdc if Windows GDI is not in use.

        * platform/graphics/chromium/FontChromiumWin.cpp:
        (WebCore::Font::drawComplexText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7440ee37
2009-08-25 Yusuke Sato <yusukes@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Complex text doesn't show up with text stroking
https://bugs.webkit.org/show_bug.cgi?id=28707
Skip the NULL check of m_hdc if Windows GDI is not in use.
* platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::Font::drawComplexText):
2009-08-25 Alpha Lam <hclam@chromium.org>
Reviewed by David Levin.
......@@ -459,7 +459,7 @@ void Font::drawComplexText(GraphicsContext* graphicsContext,
TransparencyAwareUniscribePainter painter(graphicsContext, this, run, from, to, point);
HDC hdc = painter.hdc();
if (!hdc)
if (windowsCanHandleTextDrawing(graphicsContext) && !hdc)
return;
// TODO(maruel): http://b/700464 SetTextColor doesn't support transparency.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment