<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [patch] pdftops: Fixes/improvements for -origpagesizes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72312#c44">Comment # 44</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [patch] pdftops: Fixes/improvements for -origpagesizes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72312">bug 72312</a>
from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=72312#c43">comment #43</a>)
<span class="quote">> When running pdftops trhough (without any extra option) in
> <a href="https://bugs.kde.org/attachment.cgi?id=10851">https://bugs.kde.org/attachment.cgi?id=10851</a> the page size is changed by
> these patches.
>
> Any idea why that is happening?</span >
Looking at the output of pdfinfo -box:
Page size: 551 x 747 pts
MediaBox: 0.00 0.00 612.00 792.00
CropBox: 38.00 5.00 589.00 752.00
BleedBox: 38.00 5.00 589.00 752.00
TrimBox: 38.00 5.00 589.00 752.00
ArtBox: 38.00 5.00 589.00 752.00
The mediabox is different from the crop box. As noted in <a href="show_bug.cgi?id=72312#c18">comment 18</a>, pdftops
was using the media box as the page size but acroread uses the crop box for
display size and printing paper size, glib and qt use the crop box for display
size and pdfinfo as shown above uses the crop box as the page size.
I changed pdftops to use the crop box as the paper size (unless -nocrop is
specified) to be consistent with acroread and fix the printing of the pdfs in
this bug report.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>