r20663 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 6 10:54:09 UTC 2016


Author: fschmid
Date: Wed Jan  6 10:54:09 2016
New Revision: 20663

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20663
Log:
Fixed not correct rendered outlined text.

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20663&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp	(original)
+++ trunk/Scribus/scribus/pageitem.cpp	Wed Jan  6 10:54:09 2016
@@ -2870,6 +2870,7 @@
 			else if ((font.isStroked()) && (style.strokeColor() != CommonStrings::None) && ((style.fontSize() * glyphs.scaleV * style.outlineWidth() / 10000.0) != 0))
 			{
 				QColor tmp = p->brush();
+				p->setStrokeMode(1);
 				p->setPen(tmp, 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
 				p->setLineWidth(style.fontSize() * glyphs.scaleV * style.outlineWidth() / 10000.0);
 				p->strokePath();
@@ -2892,6 +2893,7 @@
 					p->fillPath();
 				if ((style.effects() & ScStyle_Outline) && (style.strokeColor() != CommonStrings::None) && ((style.fontSize() * glyphs.scaleV * style.outlineWidth() / 10000.0) != 0))
 				{
+					p->setStrokeMode(1);
 					p->setLineWidth((style.fontSize() * glyphs.scaleV * style.outlineWidth() / 10000.0) / glySc);
 					p->strokePath();
 				}




More information about the scribus-commit mailing list