[Poppler-bugs] [Bug 72312] [patch] pdftops: Fixes/improvements for -origpagesizes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 6 04:30:46 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72312

--- Comment #7 from Till Kamppeter <till.kamppeter at gmail.com> ---
> The filter is rotating landscape pages the wrong way.

OK, I will fix pdftopdf to rotate counterclockwise by default (if the PPD does
not state otherwise).

>> 2. The "%%DocumentMedia: ..." and following "%%+ ..." lines are removed.
[...]
> This one I disagree with.
[...]
> The cause of this bug is that the first page of launch_leaflet-pdftopdf.pdf has 
> MediaBox set to 840x596 and CropBox set to 420x596. The code that outputs the 
> DocumentMedia lines is using the media box while the page size on each page is 
> the crop box. This should be fixed so the sizes in the DocumentMedia/PageMedia 
> is consistent with the size used by the setpagesize operator.

So should all use the CropBox here? Will you fix that?

>> 3. The output pages are never centered
[...]
> This one I also disagree with.

No problem, I can add "-nocenter" to the pdftops call in cups-filters and you
leave out this last hunk of my patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20131206/f38d9d8f/attachment.html>


More information about the Poppler-bugs mailing list