Qprint poor quality...
-
Hi
When using QPrinter::HighResolution, the PDF page have many
more pixels than when using QPrinter::ScreenResolutionSo if you have an image of say 100x100, it will become
VERY small with HighResolution if you DO NOT scale it when you draw it.
So you need to scale image UP as it comes in ScreenResolution size, so to speak. -
Hi
When using QPrinter::HighResolution, the PDF page have many
more pixels than when using QPrinter::ScreenResolutionSo if you have an image of say 100x100, it will become
VERY small with HighResolution if you DO NOT scale it when you draw it.
So you need to scale image UP as it comes in ScreenResolution size, so to speak. -
Welcome @filipdns
Can you show drafts of each situation?
-
@filipdns
Ok, but in highres its 1200 DPI so it will be pretty small anyway.
You must scale it up when drawing to have it be that small. -
When your DPI differs from the default value for screen rendering, you need to provide this information to various Qt classes that depend on it for calculations, for example QTextLayout, QFont and QFontMetrics.
If you don't do this, calculated spaces will be much too small.
-
Hi,
Not to nitpick but did you ask OSAC for the permission to reproduce their document, even if empty, here ?
-
Hi,
Not to nitpick but did you ask OSAC for the permission to reproduce their document, even if empty, here ?