summaryrefslogtreecommitdiffstats
path: root/src/sp-font.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-01-04 14:25:02 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-01-04 14:25:02 +0000
commitd46d1fbfa2743ef525908dce92880d7d551932b9 (patch)
tree4b9bc683e889bf52331227ff0f405ca592b786ee /src/sp-font.cpp
parentFixing errors and warnings in the debug code. (diff)
downloadinkscape-d46d1fbfa2743ef525908dce92880d7d551932b9.tar.gz
inkscape-d46d1fbfa2743ef525908dce92880d7d551932b9.zip
Fix for Bug #1265556 (plain svg export is broken for filter).
Fixed bugs: - https://launchpad.net/bugs/1265556 (bzr r12879)
Diffstat (limited to 'src/sp-font.cpp')
-rw-r--r--src/sp-font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-font.cpp b/src/sp-font.cpp
index 4ac3278d7..62cf521d3 100644
--- a/src/sp-font.cpp
+++ b/src/sp-font.cpp
@@ -179,7 +179,7 @@ void SPFont::update(SPCtx *ctx, guint flags) {
Inkscape::XML::Node* SPFont::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
- repr = xml_doc->createElement("svg:this");
+ repr = xml_doc->createElement("svg:font");
}
sp_repr_set_svg_double(repr, "horiz-origin-x", this->horiz_origin_x);