[Qt] Poor rounding in GraphicsContext::drawLineForText
authorallan.jensen@digia.com <allan.jensen@digia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Mar 2013 13:51:24 +0000 (13:51 +0000)
committerallan.jensen@digia.com <allan.jensen@digia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Mar 2013 13:51:24 +0000 (13:51 +0000)
commit286bcae127cc7a432331d354dc59d06417bbd210
tree0bea1ad57c9bebab50548f04df91e47e9c74a90f
parent85ab1dcdb8eeb227d68655e362a79363bda38f52
[Qt] Poor rounding in GraphicsContext::drawLineForText
https://bugs.webkit.org/show_bug.cgi?id=113301

Reviewed by Jocelyn Turcotte.

Round the position of the line decoration, so lines on subpixel
coordinates are not always rounded up.

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::drawLineForText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp