Skip to content
  • Darin Adler's avatar
    Add a return_if_fail. · 7ca1f1e0
    Darin Adler authored
    	* rsvg-paint-server.c: (rsvg_render_paint_server): Add a
    	return_if_fail.
    
    	* rsvg.c: (rsvg_start_svg): Handle .svg files without width and
    	height values better. This was actually better in librsvg 1.0,
    	and got lost in the rework of the API.
    	(rsvg_push_opacity_group): Handle the case where ctx->pixbuf is NULL.
    	(rsvg_pop_opacity_group): Handle NULL pixbuf cases.
    	(rsvg_render_svp): Handle NULL pixbuf case better.
    	(rsvg_render_bpath): Handle NULL pixbuf case.
    	(rsvg_text_handler_characters): Handle NULL pixbuf case.
    
    	* test-20020212.svg: Add a test file from Sodipodo without a width
    	or height.
    7ca1f1e0