r15539 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:29:38 CEST 2010


Author: fschmid
Date: Fri Oct 15 19:29:38 2010
New Revision: 15539

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

Modified:
    branches/Version135/Scribus/scribus/pslib.cpp

Modified: branches/Version135/Scribus/scribus/pslib.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15539&path=/branches/Version135/Scribus/scribus/pslib.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pslib.cpp (original)
+++ branches/Version135/Scribus/scribus/pslib.cpp Fri Oct 15 19:29:38 2010
@@ -429,17 +429,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
 	{
 		
 		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