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
This commit is contained in:
suzuki toshiya 2019-04-08 02:52:51 +00:00
parent 269522fbe9
commit 10760d29d1

View file

@ -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;
}