r14645 by jghali - #8773: second page shifted by bleed amount on pdf export
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 6 00:20:22 CET 2010
Revision: 14645
Author: jghali
Date: 2010-02-05T23:12:58.271829Z
Commit message: #8773: second page shifted by bleed amount on pdf export
Changeset:
M /branches/Version135/Scribus/scribus/pdflib_core.cpp
Diffs:
Index: scribus/pdflib_core.cpp
===================================================================
--- scribus/pdflib_core.cpp (revision 14644)
+++ scribus/pdflib_core.cpp (revision 14645)
@@ -2710,13 +2710,14 @@
PutPage("q\n"); // Save
if ((Options.cropMarks) || (Options.bleedMarks) || (Options.registrationMarks) || (Options.colorMarks) || (Options.docInfoMarks))
markOffs = 20.0 + Options.markOffset;
- if (!pag->MPageNam.isEmpty())
- {
+ // #8773 - incorrect page position if MPageNam.isEmpty()
+ /*if (!pag->MPageNam.isEmpty())
+ {*/
getBleeds(ActPageP, bleedLeft, bleedRight);
PutPage("1 0 0 1 "+FToStr(bleedLeft+markOffs)+" "+FToStr(Options.bleeds.Bottom+markOffs)+" cm\n");
bleedDisplacementX = bleedLeft+markOffs;
bleedDisplacementY = Options.bleeds.Bottom+markOffs;
- }
+ /*}*/
if ( (Options.MirrorH) && (!pag->MPageNam.isEmpty()) )
PutPage("-1 0 0 1 "+FToStr(ActPageP->width())+" 0 cm\n");
if ( (Options.MirrorV) && (!pag->MPageNam.isEmpty()) )
More information about the scribus-commit
mailing list