diff options
Diffstat (limited to 'src/object/sp-text.cpp')
| -rw-r--r-- | src/object/sp-text.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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); |
