[librsvg] Fix crash when rendering tests/svg1.1/svg/masking-path-04-b.svg.



commit f328d4f725c6034d0a99332023a1910d590fd2c1
Author: Hiroyuki Ikezoe <hiikezoe gnome org>
Date:   Sun May 30 19:09:51 2010 +0900

    Fix crash when rendering tests/svg1.1/svg/masking-path-04-b.svg.

 rsvg-cairo-clip.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/rsvg-cairo-clip.c b/rsvg-cairo-clip.c
index 9126892..c928836 100644
--- a/rsvg-cairo-clip.c
+++ b/rsvg-cairo-clip.c
@@ -135,6 +135,8 @@ rsvg_cairo_clip_render_new (cairo_t * cr, RsvgCairoRender *parent)
     RsvgCairoClipRender *cairo_render = g_new0 (RsvgCairoClipRender, 1);
 
     cairo_render->super.free = rsvg_cairo_clip_render_free;
+    cairo_render->super.create_pango_context = rsvg_cairo_create_pango_context;
+    cairo_render->super.render_pango_layout = rsvg_cairo_render_pango_layout;
     cairo_render->super.render_image = rsvg_cairo_clip_render_image;
     cairo_render->super.render_path = rsvg_cairo_clip_render_path;
     cairo_render->super.pop_discrete_layer = rsvg_cairo_clip_pop_discrete_layer;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]