Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 262274

Summary: app-text/pdfjam: pdfjoin fails for PDF-files containing pages with different orientation
Product: Gentoo Linux Reporter: Erik <esigra>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jstein
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: document for reproducing the 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.