Reports are printed (and exported to PDF) in screen resolution. High resolution should be used. Reproducible: Always Steps to Reproduce: To reproduce, just create a report with image element, set data and export to PDF or print (can be to PDF too). Resulting printout is of screen resolution, what defeats the idea of printing images.
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
See https://git.reviewboard.kde.org/r/121281/
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