r18681 by fschmid - Fixed Bug #11918: Imported PostScript has too wide borders

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 6 16:24:33 UTC 2014


Author: fschmid
Date: Mon Jan  6 16:24:33 2014
New Revision: 18681

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18681
Log:
Fixed Bug #11918: Imported PostScript has too wide borders

Modified:
    trunk/Scribus/scribus/scpainter.cpp

Modified: trunk/Scribus/scribus/scpainter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18681&path=/trunk/Scribus/scribus/scpainter.cpp
==============================================================================
--- trunk/Scribus/scribus/scpainter.cpp (original)
+++ trunk/Scribus/scribus/scpainter.cpp Mon Jan  6 16:24:33 2014
@@ -230,6 +230,7 @@
 void ScPainter::scale( double x, double y )
 {
 	cairo_scale (m_cr, x, y);
+	m_zoomFactor = qMax(x, y);
 }
 
 void ScPainter::moveTo( const double &x, const double &y )




More information about the scribus-commit mailing list