r15540 by fschmid - Fixed Bug #9397: "Wrong order of xmax and ymax in eps bounding box"

scribus-commit scribus-commit at lists.scribus.net
Fri Oct 15 21:30:27 CEST 2010


Author: fschmid
Date: Fri Oct 15 19:30:27 2010
New Revision: 15540

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15540
Log:
Fixed Bug #9397: "Wrong order of xmax and ymax in eps bounding box"

Modified:
    trunk/Scribus/scribus/pslib.cpp

Modified: trunk/Scribus/scribus/pslib.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15540&path=/trunk/Scribus/scribus/pslib.cpp
==============================================================================
--- trunk/Scribus/scribus/pslib.cpp (original)
+++ trunk/Scribus/scribus/pslib.cpp Fri Oct 15 19:30:27 2010
@@ -427,17 +427,17 @@
 	PutStream("%%Title: " + Titel + "\n");
 	PutStream("%%Creator: " + Creator + "\n");
 	PutStream("%%Pages: " + IToStr(numpage) + "\n");
-	if(breite<hoehe)
-	{
+//	if(breite<hoehe)
+//	{
 		BBox = "%%BoundingBox: " + IToStr(qRound(x)) + " " + IToStr(qRound(y)) + " " + IToStr(qRound(breite)) + " " + IToStr(qRound(hoehe)) + "\n";
 		BBoxH = "%%HiResBoundingBox: " + ToStr(x) + " " + ToStr(y) + " " + ToStr(breite) + " " + ToStr(hoehe) + "\n";
-	}
-	else
+//	}
+/*	else
 	{
 		
 		BBox = "%%BoundingBox: " + IToStr(qRound(x)) + " " + IToStr(qRound(y)) + " " + IToStr(qRound(hoehe)) + " " + IToStr(qRound(breite)) + "\n";
 		BBoxH = "%%HiResBoundingBox: " + ToStr(x) + " " + ToStr(y) + " " + ToStr(hoehe) + " " + ToStr(breite) + "\n";
-	}
+	} */
  // 	if (!Art)
 //	{
 		PutStream(BBox);




More information about the scribus-commit mailing list