Bug 35668 - [Qt] Printing to pdf scales the content, so it have the wrong size on screen, and in print
Summary: [Qt] Printing to pdf scales the content, so it have the wrong size on screen,...
Status: RESOLVED DUPLICATE of bug 33657
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-03-03 03:58 PST by Tor Arne Vestbø
Modified: 2010-04-26 03:57 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Arne Vestbø 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>
Comment 1 Jocelyn Turcotte 2010-03-17 07:01:12 PDT
This looks like bug #33657 to me which is though not related to PDF printing/scaling.
Comment 2 Jocelyn Turcotte 2010-04-26 03:57:53 PDT

*** This bug has been marked as a duplicate of bug 33657 ***