r15596 by jghali - pslib : fix marks placement issue when printing landscape document
scribus-commit
scribus-commit at lists.scribus.net
Wed Oct 20 22:45:08 CEST 2010
Author: jghali
Date: Wed Oct 20 20:45:08 2010
New Revision: 15596
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15596
Log:
pslib : fix marks placement issue when printing landscape document
Modified:
branches/Version135/Scribus/scribus/pslib.cpp
Modified: branches/Version135/Scribus/scribus/pslib.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15596&path=/branches/Version135/Scribus/scribus/pslib.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pslib.cpp (original)
+++ branches/Version135/Scribus/scribus/pslib.cpp Wed Oct 20 20:45:08 2010
@@ -681,6 +681,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");
@@ -848,6 +851,7 @@
}
PutStream("gr\n");
}
+ PutStream("gr\n");
PutStream("sp\n");
PutStream("end\n");
}
More information about the scribus-commit
mailing list