r22054 by jghali - small fix for PDF embedding of PDF pages rotated at 270 degrees
scribus-commit
scribus-commit at lists.scribus.net
Mon Jun 5 10:21:52 UTC 2017
Author: jghali
Date: Mon Jun 5 10:21:52 2017
New Revision: 22054
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22054
Log:
small fix for PDF embedding of PDF pages rotated at 270 degrees
Modified:
branches/Version14x/Scribus/scribus/pdflib_core.cpp
Modified: branches/Version14x/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22054&path=/branches/Version14x/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/pdflib_core.cpp (original)
+++ branches/Version14x/Scribus/scribus/pdflib_core.cpp Mon Jun 5 10:21:52 2017
@@ -6628,7 +6628,7 @@
else if (rotation == 180)
PutDoc("1 1");
else if (rotation == 270)
- PutDoc(QString::number(pagesize.GetHeight() / pagesize.GetWidth()) + " " + QString::number(1.0 - 1.0 / (pagesize.GetHeight() / pagesize.GetWidth())));
+ PutDoc("1 0");
else
PutDoc("0 0");
PutDoc("]");
@@ -6748,7 +6748,7 @@
else if (rotation == 180)
PutDoc("1 1");
else if (rotation == 270)
- PutDoc(QString::number(pagesize.GetHeight() / pagesize.GetWidth(), 'f') + " " + QString::number(1.0 - 1.0 / (pagesize.GetHeight() / pagesize.GetWidth()), 'f'));
+ PutDoc("1 0");
else
PutDoc("0 0");
PutDoc("]");
More information about the scribus-commit
mailing list