r15595 by jghali - pslib : fix marks placement issue when printing landscape document

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 20 22:44:07 CEST 2010


Author: jghali
Date: Wed Oct 20 20:44:06 2010
New Revision: 15595

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15595
Log:
pslib : fix marks placement issue when printing landscape document

Modified:
    trunk/Scribus/scribus/pslib.cpp

Modified: trunk/Scribus/scribus/pslib.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15595&path=/trunk/Scribus/scribus/pslib.cpp
==============================================================================
--- trunk/Scribus/scribus/pslib.cpp (original)
+++ trunk/Scribus/scribus/pslib.cpp Wed Oct 20 20:44:06 2010
@@ -678,6 +678,9 @@
 	GetBleeds(ActPage, bleedLeft, bleedRight);
 	double maxBoxX = ActPage->width()+bleedLeft+bleedRight+markOffs*2.0;
 	double maxBoxY = ActPage->height()+Options.bleeds.Bottom+Options.bleeds.Top+markOffs*2.0;
+	PutStream("gs\n");
+	if(ActPage->PageOri == 1 && psExport)
+		PutStream("90 rotate 0 "+IToStr(qRound(maxBoxY))+" neg translate\n");
 	if ((Options.cropMarks) || (Options.bleedMarks) || (Options.registrationMarks) || (Options.colorMarks))
 	{
 		PutStream("gs\n");
@@ -845,6 +848,7 @@
 		}
 		PutStream("gr\n");
 	}
+	PutStream("gr\n");
 	PutStream("sp\n");
 	PutStream("end\n");
 }




More information about the scribus-commit mailing list