Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0
-
None
-
-
acb66cad2280bda20d26d08d606a66b9660b17aa (qt/qtsvg/5.14)
Description
From 5.14, QSvgRenderer::render(QPainter *painter, const QRectF &bounds)
does not render in the bounds specified.
This due to the correction made in QSvgTinyDocument::mapSourceToTarget for
The example attached was working well with Qt 5.13.1 and all previous Qt releases from 4.7. With Qt 5.14, it works only if we remove the size and width attributes of the svg text. But most of svg files have a width and height specified.
Attachments
Issue Links
- is duplicated by
-
QTBUG-80954 [REG 5.13->5.14] QSvgRenderer draws at incorrect position
- Closed
For Gerrit Dashboard: QTBUG-80888 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
285186,4 | Fix yet another viewbox scaling issue, for render to bounds | 5.14 | qt/qtsvg | Status: MERGED | +2 | 0 |