<table><tr><td style="">michaelweghorn retitled this revision from "PDF: Make the "fit-to-page" print option configurable" to "PDF: Allow to ignore print margins".<br />michaelweghorn edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-t65wl45xrf3n22n/">(Show Details)</a><br />michaelweghorn edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-dwbp2pcggko25hk/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10974">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>to be ignored <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"automatically" </span>in case of the QPrinter based approach<div style="padding: 8px 0;">...</div>For the case where FilePrinter is used, the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">"fit-to-page"</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">margin</span> option<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">s</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">is</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">are</span> (not) passed based on the value that was set.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>Expected result: <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">t</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">T</span>he document is<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> not</span> scaled <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">at all now.<br />
<br />
5) print again,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">to the full page size, i.e.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">now leaving "Fit to printable area" enabled and selecting</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">ignoring</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">"Force rasterize" in addition</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the printer's hardware margins</span>.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Expected result: The document is scaled to the printable area (as it was</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">5) Take steps 3 and 4 again, but now enabling the "Force rasterize"</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">without this change).<br />
<br />
5) print again, now disabling "Fit to printable area" and selecting<br />
"Force rasterize"</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">  option</span> in addition<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">.</span><br />
<br />
Expected result: The <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">document is scaled to the full page size, i.e. ignoring</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">printout behaves the same way as in steps 3 and 4 without</span><br />
the <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">printers hardware margins</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"Force rasterize" option being set</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10974">https://phabricator.kde.org/D10974</a></div></div><br /><div><strong>To: </strong>michaelweghorn, Okular<br /><strong>Cc: </strong>aacid, ngraham, michaelweghorn<br /></div>