Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262274 - app-text/pdfjam: pdfjoin fails for PDF-files containing pages with different orientation
Summary: app-text/pdfjam: pdfjoin fails for PDF-files containing pages with different ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 15:23 UTC by Erik
Modified: 2018-05-14 15:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
document for reproducing the bug (document_with_different_orientations.pdf,14.98 KB, application/pdf)
2009-03-12 15:27 UTC, Erik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2009-03-12 15:23:42 UTC
pdfjoin fails for PDF-files containing pages with different orientation. Look at the attached file document_with_different_orientations.pdf in kpdf. The first page is portrait and the second page is landscape.

Reproducible: Always

Steps to Reproduce:
1. LANG="" pdfjoin document_with_different_orientations.pdf
2. kpdf document_with_different_orientations-joined.pdf


Actual Results:  
Both pages are portrait.

Expected Results:  
document_with_different_orientations-joined.pdf is identical to document_with_different_orientations.pdf.
Comment 1 Erik 2009-03-12 15:27:17 UTC
Created attachment 184815 [details]
document for reproducing the bug

> equery b $(which pdfjoin)
[ Searching for file(s) /usr/bin/pdfjoin in *... ]
app-text/pdfjam-1.20-r1 (/usr/bin/pdfjoin)
Comment 2 Erik 2009-03-14 13:05:32 UTC
Here is a workaround:
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=document_with_different_orientations-joined.pdf -dBATCH document_with_different_orientations.pdf
Comment 3 Jonas Stein gentoo-dev 2015-10-04 13:17:08 UTC
This bug seems to be rather an upstream bug. If it is not fixed in the latest version, please report it to the programmers of pdfjam.
I suggest to close it.