I was just told that my patch was not attached to this report.
Attached it is. (Not looked at it for some time, though).

Bernhard R. Link
Index: xpdf-3.02/xpdf/XPDFViewer.cc
===================================================================
--- xpdf-3.02.orig/xpdf/XPDFViewer.cc	2011-04-15 15:13:26.000000000 +0200
+++ xpdf-3.02/xpdf/XPDFViewer.cc	2011-04-15 15:20:31.000000000 +0200
@@ -3627,7 +3627,8 @@
   {
     psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
           doc->getCatalog(), NULL, firstPage, lastPage,
-          psModePS);
+          psModePS, globalParams->getPSPaperWidth(),
+          globalParams->getPSPaperHeight(), globalParams->getPSDuplex());
     if (psOut->isOk()) {
       doc->displayPages(psOut, firstPage, lastPage, 72, 72,
             0, gTrue, globalParams->getPSCrop(), gFalse);

Reply via email to