From 07f123388ae69c33ff184db5e79cb557b29cd44a Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Thu, 5 Sep 2019 23:06:14 +0200 Subject: Prepare for beta --- src/object/sp-text.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/object/sp-text.cpp') diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp index 7035d78b2..2c37e1736 100644 --- a/src/object/sp-text.cpp +++ b/src/object/sp-text.cpp @@ -838,13 +838,10 @@ void SPText::rebuildLayout() #endif // set the x,y attributes on role:line spans - Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool svg2text = prefs->getBool("/tools/text/use_svg2"); for (auto& child: children) { if (SP_IS_TSPAN(&child)) { SPTSpan *tspan = SP_TSPAN(&child); - if (!svg2text && - (tspan->role != SP_TSPAN_ROLE_UNSPECIFIED) + if ((tspan->role != SP_TSPAN_ROLE_UNSPECIFIED) && tspan->attributes.singleXYCoordinates() ) { Inkscape::Text::Layout::iterator iter = layout.sourceToIterator(tspan); Geom::Point anchor_point = layout.chunkAnchorPoint(iter); -- cgit v1.2.3