r22053 by jghali - #14289: Some EPS files are rotated when exporting to a PDF file

scribus-commit scribus-commit at lists.scribus.net
Mon Jun 5 09:20:02 UTC 2017


Author: jghali
Date: Mon Jun  5 09:20:02 2017
New Revision: 22053

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22053
Log:
#14289: Some EPS files are rotated when exporting to a PDF file

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22053&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp	(original)
+++ trunk/Scribus/scribus/pdflib_core.cpp	Mon Jun  5 09:20:02 2017
@@ -10176,6 +10176,7 @@
 					opts.append( "-sProcessColorModel=/DeviceRGB" );
 				else
 					opts.append( "-sProcessColorModel=/DeviceCMYK" ); */
+				opts.append( "-dAutoRotatePages=/None" ); // #14289: otherwise EPS might come out rotated
 				if (convertPS2PDF(fn, tmpFile, opts) == 0)
 				{
 					imageLoaded = PDF_EmbeddedPDF(c, tmpFile, sx, sy, x, y, fromAN, ImInfo, fatalError);




More information about the scribus-commit mailing list