r14956 by fschmid - Fixed Bug #8989: "No visual indicator for the contour line"

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 10 20:50:22 CEST 2010


Revision: 14956
Author: fschmid
Date: 2010-04-10T18:40:22.986160Z
Commit message: Fixed Bug #8989: "No visual indicator for the contour line"

Changeset: 
M  /trunk/Scribus/scribus/pageitem.cpp

Diffs:
Index: scribus/pageitem.cpp
===================================================================
--- scribus/pageitem.cpp	(revision 14955)
+++ scribus/pageitem.cpp	(revision 14956)
@@ -1640,7 +1640,7 @@
 		}
 		if ((m_Doc->guidesPrefs().framesShown) && textFlowUsesContourLine() && (ContourLine.size() != 0))
 		{
-			p->setPen(Qt::lightGray, scpInv, Qt::DotLine, Qt::FlatCap, Qt::MiterJoin);
+			p->setPen(Qt::darkGray, 1.0 / qMax(view->scale(), 1.0), Qt::DotLine, Qt::FlatCap, Qt::MiterJoin);
 // Ugly Hack to fix rendering problems with cairo >=1.5.10 && <1.8.0 follows
 #ifdef HAVE_CAIRO
 	#if ((CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 10)) && (CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 8, 0)))




More information about the scribus-commit mailing list