r21146 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 1 10:31:13 UTC 2016


Author: jghali
Date: Fri Apr  1 10:31:13 2016
New Revision: 21146

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21146
Log:
#13897: Pathtext distance from path not working

Modified:
    trunk/Scribus/scribus/pageitem_pathtext.cpp

Modified: trunk/Scribus/scribus/pageitem_pathtext.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21146&path=/trunk/Scribus/scribus/pageitem_pathtext.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_pathtext.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_pathtext.cpp	Fri Apr  1 10:31:13 2016
@@ -306,7 +306,7 @@
 			else
 				trafo *= QTransform( a, 4 * a, 0, -1, point.x(), point.y() );
 		}
-
+		trafo.translate(0, BaseOffs);
 
 		const CharStyle& cStyle(run.style());
 		double scaleV = cStyle.scaleV() / 1000.0;
@@ -332,7 +332,6 @@
 		box->setMatrix(trafo);
 		linebox->addBox(box);
 
-
 		MaxChars = a+1;
 		CurX -= dx;
 		if (itemRenderText.hasObject(a))




More information about the scribus-commit mailing list