scandoc: Use pdfjam directly
authorMartin Pitt <martin@piware.de>
Thu, 10 Sep 2020 09:13:45 +0000 (11:13 +0200)
committerMartin Pitt <martin@piware.de>
Thu, 10 Sep 2020 09:13:45 +0000 (11:13 +0200)
pdfjoin wrapper got removed in pdfjam 3.02

scandoc

diff --git a/scandoc b/scandoc
index ad18a109ad0577309dc0d7d0d2bbe1c82f00c349..f62373cb379c4a795723e2fa57175caca7cd215f 100755 (executable)
--- a/scandoc
+++ b/scandoc
@@ -22,6 +22,6 @@ while true; do
     [ "$x" = q ] && break || true
 done
 
-pdfjoin --outfile "$name" page*.pdf
+pdfjam --outfile "$name" --fitpaper true --rotateoversize false page*.pdf
 
 rm -rf "$D"