Changeset 146878 in webkit
- Timestamp:
- Mar 26, 2013 6:51:24 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r146875 r146878 1 2013-03-26 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 3 [Qt] Poor rounding in GraphicsContext::drawLineForText 4 https://bugs.webkit.org/show_bug.cgi?id=113301 5 6 Reviewed by Jocelyn Turcotte. 7 8 Round the position of the line decoration, so lines on subpixel 9 coordinates are not always rounded up. 10 11 * platform/graphics/qt/GraphicsContextQt.cpp: 12 (WebCore::GraphicsContext::drawLineForText): 13 1 14 2013-03-26 Vsevolod Vlasov <vsevik@chromium.org> 2 15 -
trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
r145810 r146878 1034 1034 #endif // defined(Q_WS_X11) 1035 1035 1036 // FIXME: Loss of precision here. Might consider rounding. 1037 drawLine(IntPoint(startPoint.x(), startPoint.y()), IntPoint(endPoint.x(), endPoint.y())); 1036 drawLine(roundedIntPoint(startPoint), roundedIntPoint(endPoint)); 1038 1037 } 1039 1038
Note: See TracChangeset
for help on using the changeset viewer.