Bug 35668

Summary: [Qt] Printing to pdf scales the content, so it have the wrong size on screen, and in print
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jturcotte
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   

Tor Arne Vestbø
Reported 2010-03-03 03:58:06 PST
This bug report originated from issue QTBUG-4898 http://bugreports.qt.nokia.com/browse/QTBUG-4898 --- Description --- Printing to pdf scales the content, so it have the wrong size on screen, and in print. This have been reproduced with HTML content but a simple QPainter::drawRect() test displays (slightly) wrong on screen, but prints correctly. It happens on both Windows and Linux. When a certain size is set in inches (or cm) in the HTML document, this is not respected in the final pdf document. <p>The examples/webkit/previewer/ example demonstrates the behavior with the attached file.</p>
Attachments
Jocelyn Turcotte
Comment 1 2010-03-17 07:01:12 PDT
This looks like bug #33657 to me which is though not related to PDF printing/scaling.
Jocelyn Turcotte
Comment 2 2010-04-26 03:57:53 PDT
*** This bug has been marked as a duplicate of bug 33657 ***
Note You need to log in before you can comment on or make changes to this bug.