2010-08-23 Andreas Kling <andreas.kling@nokia.com>
authorandreas.kling <andreas.kling@nokia.com>
Mon, 23 Aug 2010 11:44:41 +0000 (11:44 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Tue, 24 Aug 2010 10:09:22 +0000 (12:09 +0200)
commit1a184f3f6e088a4d5e4afd5ed71d3cb8d07a5a53
tree50e121defa2cee3269b1414dae9b2dba63a5efc2
parentc2aaec160209c180b6bf0ef9c14e706adf841498
2010-08-23  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] -webkit-text-stroke is broken due to Qt::TextBypassShaping
        https://bugs.webkit.org/show_bug.cgi?id=44403

        Don't bypass the Harfbuzz shaping if we're drawing text with a stroke.
        For canvas, always use complex text shaping since stroke and fill are decoupled.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::measureText):
        (WebCore::CanvasRenderingContext2D::drawTextInternal):
        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/canvas/CanvasRenderingContext2D.cpp
WebCore/platform/graphics/qt/FontQt.cpp