diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-09-07 14:28:20 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-09-07 14:28:20 +0000 |
| commit | 5a1239565aeab46c53b36099c7d79c3b9a8b77bd (patch) | |
| tree | a4fa4d9c69ff929916adf804a29377873bab9e27 /src/object/sp-text.cpp | |
| parent | Update 2geom (diff) | |
| download | inkscape-5a1239565aeab46c53b36099c7d79c3b9a8b77bd.tar.gz inkscape-5a1239565aeab46c53b36099c7d79c3b9a8b77bd.zip | |
Write out 'x' and 'y' attribute values to repr when some text property value changes.
Changes to property values may cause text to be relayed out, changing 'x' and 'y'
attributes on tspans with sodipodi:role="line". Fix for issue 234.
Diffstat (limited to 'src/object/sp-text.cpp')
| -rw-r--r-- | src/object/sp-text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp index ee020ab54..f42a694f0 100644 --- a/src/object/sp-text.cpp +++ b/src/object/sp-text.cpp @@ -846,6 +846,7 @@ void SPText::rebuildLayout() Inkscape::Text::Layout::iterator iter = layout.sourceToIterator(tspan); Geom::Point anchor_point = layout.chunkAnchorPoint(iter); tspan->attributes.setFirstXY(anchor_point); + // repr needs to be updated but if we do it here we get a loop. } } } |
