summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fba63a3)
raw | patch | inline | side by side (parent: fba63a3)
author | miklosh <miklosh@users.sourceforge.net> | |
Sun, 22 Jul 2007 12:28:23 +0000 (12:28 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Sun, 22 Jul 2007 12:28:23 +0000 (12:28 +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 02bd0679242e55d91a00a8254c34ca4faffa3613..b17a51ea84b9d5a34aa1e95128ab93598399dac6 100644 (file)
}
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]);
break;
} else {
tspan_node = _xml_doc->createElement("svg:tspan");
+ tspan_node->setAttribute("sodipodi:role", "line");
// Set style and unref SPCSSAttr if it won't be needed anymore
if ( i != _glyphs.begin() ) {
sp_repr_css_change(tspan_node, glyph.style, "style");