Hello,
Look into the attachment: screenshot.png
There is a problem with the "asdf" (QImage) in the QGraphicsTextItem: it is fuzzy. And that's because the QGraphicsTextItem is scaled with setScale(...).
I scale the QGraphicTextItem, because I want zoom the text in/out later in the programm. And yet I zoom it because the text should have the correct size in millimeters.
The text scaling works fine, but the "asdf" QImage will zoomed, too.
How to insert a QImage with high resolution, and make it smaller with scaling that the QImage doesn't looks fuzzy?
Or there other ways to solve this?
(An idea is to get the HTML of the TextItem and multiplicate all font sizes with the zoom level. But is there a better way?)
Thanks
Stefan Koch
Bookmarks