Priority: P3: Somewhat important
Affects Version/s: 5.15
Fix Version/s: None
Component/s: GUI: Printing
Environment:Linux, Windows, OSX
can we default the QPrinter to a resolution of 300 DPI? I am mainly programing on Linux and was wondering why the QPrintDialog was not able to print the same painter object on Windows.
It take me a while to realize that Windows default printer is set to 300 DPI and the Linux default printer is set to 1200 DPI.
I am able to organize one painter object for both systems.
I was also able to reproduce the correct textsize if I use setFont right before drawText:
I also tested QPrintPreviewDialog on Windows with 1200 DPI.
While the print preview dialog displays the full page correctly it will also print a wrong result when using 1200 DPI on Windows.