Summary: | Reports are printed (and exported to PDF) in screen resolution | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Jarosław Staniek <staniek> |
Component: | Reports and Printouts | Assignee: | Adam Pigg <adam> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.9 Alpha | ||
Target Milestone: | 2.8.7 | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | http://commits.kde.org/calligra/a1df54154950764e82de07922f6b488730301c62 | Version Fixed In: | 2.8.7 |
Sentry Crash Report: | |||
Attachments: |
Proposed solution: use QPrinter(QPrinter::HighResolution)
Exported PDF: images are tiny when the resolution is set to high as the proposed patch sets. Expected size of images |
Description
Jarosław Staniek
2014-11-03 10:52:16 UTC
Created attachment 89417 [details]
Proposed solution: use QPrinter(QPrinter::HighResolution)
QPrinter(QPrinter::HighResolution) can be used BUT more work is needed: QPrinter::resolution() is affected by the PrinterMode but resolution() isn't currently used for drawing of the pages.
Created attachment 89418 [details]
Exported PDF: images are tiny when the resolution is set to high as the proposed patch sets.
Created attachment 89419 [details]
Expected size of images
Git commit 00cb92b159db2173b6a8842916cb8458819d3249 by Adam Pigg. Committed on 01/12/2014 at 18:27. Pushed by piggz into branch 'master'. Print report in HighDPI REVIEW:121281 Squashed commit of the following: commit 505c65d9ba93d23535a0a0dee9d3da1aefc13237 Author: Adam Pigg <adam@piggz.co.uk> Date: Sun Nov 30 19:57:50 2014 +0000 Addressed review comments commit bc9a04024916309b6109fe6450fc01246218a269 Author: Adam Pigg <adam@piggz.co.uk> Date: Fri Nov 28 19:47:16 2014 +0000 When printing reports use High DPI M +1 -1 kexi/plugins/reports/kexireportview.cpp M +12 -5 libs/koreport/renderer/KoReportPrintRenderer.cpp http://commits.kde.org/calligra/00cb92b159db2173b6a8842916cb8458819d3249 Git commit a1df54154950764e82de07922f6b488730301c62 by Jaroslaw Staniek, on behalf of Adam Pigg. Committed on 01/12/2014 at 18:27. Pushed by staniek into branch 'calligra/2.8'. Print report in HighDPI REVIEW:121281 FIXED-IN:2.8.7 Squashed commit of the following: commit 505c65d9ba93d23535a0a0dee9d3da1aefc13237 Author: Adam Pigg <adam@piggz.co.uk> Date: Sun Nov 30 19:57:50 2014 +0000 Addressed review comments commit bc9a04024916309b6109fe6450fc01246218a269 Author: Adam Pigg <adam@piggz.co.uk> Date: Fri Nov 28 19:47:16 2014 +0000 When printing reports use High DPI M +1 -1 kexi/plugins/reports/kexireportview.cpp M +12 -7 libs/koreport/renderer/KoReportPrintRenderer.cpp http://commits.kde.org/calligra/a1df54154950764e82de07922f6b488730301c62 |