Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.9.1, 5.11.1
-
None
Description
When drawing multiline text with a set opacity, QPainter ignores that opacity on the first line of text when the underlying device is a QPrinter.
Attached are a project that reproduces the issue and 2 screenshots showing the difference between drawing to a QWidget and drawing to a QPrinter.
In the attached sample I'm using a newline to make the text multiline but the same happens when using WordWrap.