diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2010-07-25 07:22:23 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2010-07-25 07:22:23 +0000 |
| commit | f609e7dd0247868da596d0ee1327a9146e35290d (patch) | |
| tree | 9bade4ada3461dad92911ba433e2ff0b22007159 /src/sp-text.cpp | |
| parent | Pixmap fix by Leo Jackson (diff) | |
| download | inkscape-f609e7dd0247868da596d0ee1327a9146e35290d.tar.gz inkscape-f609e7dd0247868da596d0ee1327a9146e35290d.zip | |
Fix rendering of "plain" SVG text.
(bzr r9606.1.22)
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index bae625f58..36f67aa88 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -528,7 +528,7 @@ unsigned SPText::_buildLayoutInput(SPObject *root, Inkscape::Text::Layout::Optio } else if (SP_IS_TSPAN(root)) { SPTSpan *tspan = SP_TSPAN(root); - // x, y attributes are stripped from some tspans as we do our own line layout + // x, y attributes are stripped from some tspans marked with role="line" as we do our own line layout. // This should be checked carefully, as it can undo line layout in imported SVG files. bool use_xy = !in_textpath && (tspan->role == SP_TSPAN_ROLE_UNSPECIFIED || !tspan->attributes.singleXYCoordinates()); tspan->attributes.mergeInto(&optional_attrs, parent_optional_attrs, parent_attrs_offset, use_xy, true); |
