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

Carl Worth cworth at kemper.freedesktop.org
Thu Jul 13 10:27:37 PDT 2006


 src/cairo-pdf-surface.c |    2 ++
 1 files changed, 2 insertions(+)

New commits:
diff-tree 778c4730a86296bf0a71080cf7008d7291792256 (from d2d9a74c77d6bbc51502cee2288fd7d76c30f926)
Author: Kent Worsnop <kworsnop at accesswave.ca>
Date:   Thu Jul 13 10:20:12 2006 -0700

    PDF: Fix for dash-no-dash test case, (so that dashing can be turned off)

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 663097f..aaf71c7 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -2457,6 +2457,8 @@ _cairo_pdf_surface_emit_stroke_style (ca
 	    _cairo_output_stream_printf (surface->output, " %f", style->dash[d]);
 	_cairo_output_stream_printf (surface->output, "] %f d\r\n",
 				     style->dash_offset);
+    } else {
+	_cairo_output_stream_printf (surface->output, "[] 0.0 d\r\n");
     }
 
     _cairo_output_stream_printf (surface->output,


More information about the cairo-commit mailing list