Different font rendering between paint devices (QPicture, QPrinter)
How can I prompt QPainter to draw text on QPicture in the same way it do on a QPrinter device?
Output in PDF when I draw first in a QPicture an play() then to a painter with QPrinter Device:

- m_painter->begin(m_picture);
- m_painter->drawText(0,0, "In Alaska reichen die ältesten gesicherten menschlichen");
- m_painter->end();
- m_painter->begin(m_printer);
- m_picture->play(m_painter);
- m_painter->end();
And this is the Output when I draw directily to a QPainter with a QPrinter:

- m_painter->begin(m_printer);
- m_painter->drawText(0,0, "In Alaska reichen die ältesten gesicherten menschlichen");
- m_painter->end();
I’ll need paint first on Picture for a couple reasons.
Thank you in advance!
wesu
0 replies
You must log in to post a reply. Not a member yet? Register here!
