r17882 by fschmid - Fixed Bug #8159: Importing cropped PDF do not show the proper size.

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 18 10:00:20 UTC 2012


Author: fschmid
Date: Sun Nov 18 10:00:20 2012
New Revision: 17882

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17882
Log:
Fixed Bug #8159: Importing cropped PDF do not show the proper size.

Modified:
    trunk/Scribus/scribus/scimgdataloader_pdf.cpp

Modified: trunk/Scribus/scribus/scimgdataloader_pdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17882&path=/trunk/Scribus/scribus/scimgdataloader_pdf.cpp
==============================================================================
--- trunk/Scribus/scribus/scimgdataloader_pdf.cpp (original)
+++ trunk/Scribus/scribus/scimgdataloader_pdf.cpp Sun Nov 18 10:00:20 2012
@@ -81,6 +81,7 @@
 	args.append("-sOutputFile="+tmpFile);
 	args.append("-dFirstPage=" + QString::number(qMax(1, page)));
 	args.append("-dLastPage=" + QString::number(qMax(1, page)));
+	args.append("-dUseCropBox");
 	args.append(picFile);
 //	qDebug() << "scimgdataloader_pdf:" << args;
 	int retg = callGS(args);
@@ -134,6 +135,7 @@
 	args.append("-sOutputFile="+tmpFile);
 	args.append("-dFirstPage=" + QString::number(qMax(1, page)));
 	args.append("-dLastPage=" + QString::number(qMax(1, page)));
+	args.append("-dUseCropBox");
 //	args.append("\""+picFile+"\"");
 	args.append(picFile);
 //	qDebug() << "scimgdataloader_pdf(alpha):" << args;




More information about the scribus-commit mailing list