summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aec7a07)
raw | patch | inline | side by side (parent: aec7a07)
author | miklosh <miklosh@users.sourceforge.net> | |
Tue, 24 Jul 2007 17:12:04 +0000 (17:12 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Tue, 24 Jul 2007 17:12:04 +0000 (17:12 +0000) |
src/extension/internal/pdfinput/svg-builder.cpp | patch | blob | history |
diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
index 7ca8eb0fef5b6a466f270a4bf6d10cacd4e50295..e7655e3dbb512a59191c786697b85d46b393ca0f 100644 (file)
_xref = xref;
_xml_doc = sp_document_repr_doc(_doc);
_container = _root = _doc->rroot;
+ _root->setAttribute("xml:space", "preserve");
SvgBuilder();
}
}
Inkscape::XML::Node *text_node = _xml_doc->createElement("svg:text");
- text_node->setAttribute("xml:space", "preserve");
// Set current text position
sp_repr_set_svg_double(text_node, "x", first_glyph.transformed_position[0]);
sp_repr_set_svg_double(text_node, "y", first_glyph.transformed_position[1]);