[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Printing a widget
From: Jason H <scorp1us () yahoo ! com>
Date: 2009-07-31 14:07:54
Message-ID: 710158.5141.qm () web65708 ! mail ! ac4 ! yahoo ! com
[Download RAW message or body]
Check labs.trolltech.com They recently (since 4.5's release) had an article about \
improving rendering on higher DPI screens. Me thinks this would give you clues.
----- Original Message ----
From: Robert J. Hansen <rjh@sixdemonbag.org>
To: Jason H <scorp1us@yahoo.com>
Cc: pyqt@riverbankcomputing.com
Sent: Friday, July 31, 2009 12:03:24 AM
Subject: Re: [PyQt] Printing a widget
> Are you accounting for the higher DPI of printers (300, 600) vs that of the screen \
> (72 or 90)? You'll need to scale accordingly.
I am not; thank you. Now for a follow-up question: is there any way to \
programmatically discover the DPI of the screen? QPrinter has a .resolution() which \
I'm assuming will give me the necessary DPI, but I don't know where I'd look in PyQt \
to find the screen DPI.
Once again, thanks for the answer to my question -- I hope you'll indulge another. \
:)
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic