Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.0.0
-
None
-
73187281c3f88b7a709713a2b09fb43871ea6b6d
Description
Commit d52fd497f60a3c4456994f4f10e9451d611c9ea4 introduced an optimization to omit glyphs from being rendered if they're outside the "viewport". At the same time the patch introduced a call path to QPaintEngineEx::drawStaticTextItem, where previously QPaintEngine::drawTextItem was taken. Both functions end up filling a path with text and rendering it, but the former has a bug in that it doesn't respect the painter's brush properly.
This causes a WebKit layout test (fast/canvas/2d.text.draw.fill.maxWidth.gradient.html) to fail. This is tracked upstream at https://bugs.webkit.org/show_bug.cgi?id=74785