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 Bugs | Assignee: | 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ø
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jocelyn Turcotte
This looks like bug #33657 to me which is though not related to PDF printing/scaling.
Jocelyn Turcotte
*** This bug has been marked as a duplicate of bug 33657 ***