summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
authorStephen Silver <sasilver@yahoo.com>2008-07-08 13:00:20 +0000
committersasilver <sasilver@users.sourceforge.net>2008-07-08 13:00:20 +0000
commit5d11a5a6e78890682852e2b2f492853cb514c196 (patch)
tree4e579612753da38d20d3fc02db1a0667b4897fa7 /src/sp-text.cpp
parentdisable motion hints for calligraphy to avoid confusion (diff)
downloadinkscape-5d11a5a6e78890682852e2b2f492853cb514c196.tar.gz
inkscape-5d11a5a6e78890682852e2b2f492853cb514c196.zip
Patch from codedread. Prevents rendering of title/desc/metadata elements in text (fixes bug 238093).
(bzr r6226)
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index 8e4b732bc..0390df6bf 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -553,7 +553,7 @@ unsigned SPText::_buildLayoutInput(SPObject *root, Inkscape::Text::Layout::Optio
Glib::ustring const &string = SP_STRING(child)->string;
layout.appendText(string, root->style, child, &optional_attrs, child_attrs_offset + length);
length += string.length();
- } else {
+ } else if (!sp_repr_is_meta_element(child->repr)) {
length += _buildLayoutInput(child, optional_attrs, child_attrs_offset + length, in_textpath);
}
}