summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2007-09-07 08:58:56 -0700
committerCarl Worth <cworth@cworth.org>2007-09-07 08:58:56 -0700
commite31cc4d2877743b5f6badaa63c59b462d469aa3e (patch)
tree739aa92986cb01a08ba6c97c19d87a79460b9a15
parent99ff9621378ddd83982ff6f63f74315e8d771a4f (diff)
Remove painting of background to white
Some applications legitmately handle PDF files with a transparent background, so don't get in the way of that.
-rw-r--r--svg2pdf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/svg2pdf.c b/svg2pdf.c
index 867fcac..6d586c3 100644
--- a/svg2pdf.c
+++ b/svg2pdf.c
@@ -70,10 +70,6 @@ int main (int argc, char *argv[])
surface = cairo_pdf_surface_create (output_filename, width, height);
cr = cairo_create (surface);
- /* Clear background */
- cairo_set_source_rgb (cr, 1.0, 1.0, 1.0); /* white */
- cairo_paint (cr);
-
rsvg_handle_render_cairo (handle, cr);
status = cairo_status (cr);