[cairo-commit] src/cairo-svg-surface.c

Uli Schlachter psychon at kemper.freedesktop.org
Sun Jan 19 11:07:58 PST 2014


 src/cairo-svg-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2a7f133639bed86a29dd9693cb78c0aa42eaff30
Author: Uli Schlachter <psychon at znc.in>
Date:   Sun Jan 19 20:06:25 2014 +0100

    cairo svg: Use \n instead of /n in bitmap fonts
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index c901830..372ef45 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -808,7 +808,7 @@ _cairo_svg_document_emit_bitmap_glyph_data (cairo_svg_document_t	*document,
     _cairo_output_stream_printf (document->xml_node_glyphs, "<g");
     _cairo_svg_surface_emit_transform (document->xml_node_glyphs, " transform",
 				       &image->base.device_transform_inverse, NULL);
-    _cairo_output_stream_printf (document->xml_node_glyphs, ">/n");
+    _cairo_output_stream_printf (document->xml_node_glyphs, ">\n");
 
     for (y = 0, row = image->data, rows = image->height; rows; row += image->stride, rows--, y++) {
 	for (x = 0, byte = row, cols = (image->width + 7) / 8; cols; byte++, cols--) {


More information about the cairo-commit mailing list