From: Carl Worth Date: Fri, 7 Sep 2007 15:58:56 +0000 (-0700) Subject: Remove painting of background to white X-Git-Url: https://git.cworth.org/git?p=svg2png;a=commitdiff_plain;h=e31cc4d2877743b5f6badaa63c59b462d469aa3e 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. --- 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);