summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2019-04-08 02:52:51 +0000
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2019-04-08 03:06:06 +0000
commit10760d29d140330102846e83c92e0bc6a9f359a4 (patch)
tree1c769882bf13a057f8413c20528e0a2736d9488f
parent269522fbe999b44e3f18179d59f7c835620894eb (diff)
xml: fix unclosed <scaled-font> element
a closing tag </scaled-font> has been missing, mistakenly an opening tag <scaled-font> has been emitted. See discussion in: https://lists.cairographics.org/archives/cairo/2018-December/028822.html https://lists.cairographics.org/archives/cairo/2019-January/028828.html
-rw-r--r--src/cairo-xml-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xml-surface.c b/src/cairo-xml-surface.c
index 35773a2b2..43cb6dddf 100644
--- a/src/cairo-xml-surface.c
+++ b/src/cairo-xml-surface.c
@@ -1007,7 +1007,7 @@ _cairo_xml_emit_scaled_font (cairo_xml_t *xml,
}
_cairo_xml_indent (xml, -2);
- _cairo_xml_printf (xml, "<scaled-font>");
+ _cairo_xml_printf (xml, "</scaled-font>");
return status;
}