Commit f2e20795 authored by Dom Lachowicz's avatar Dom Lachowicz

require cairo 1.1.2 and prune some code made obsolete by newer cairo releases

parent 8c44dc93
2006-05-03 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Require cairo 1.1.2 or better
* rsvg-convert.c: Remove code made unecessary by cairo 1.1.2
2006-05-03 Paolo Borelli <pborelli@katamail.com>
* rsvg-filter.c:
......
......@@ -6,7 +6,7 @@ FONTCONFIG_REQUIRED=1.0.1 dnl Same as in Pango, ???
GDK_PIXBUF_REQUIRED=1.3.7
GLIB_REQUIRED=2.11.0
LIBXML_REQUIRED=2.4.7
CAIRO_REQUIRED=1.0.2
CAIRO_REQUIRED=1.1.2
PANGOFT2_REQUIRED=1.2.0
AC_SUBST(GDK_PIXBUF_REQUIRED)
......
......@@ -302,14 +302,6 @@ main (int argc, char **argv)
cr = cairo_create (surface);
}
/* cairo deficiency - need to clear the pixels to full-alpha */
if(!format || !strcmp(format, "png")) {
cairo_save(cr);
cairo_set_operator(cr, CAIRO_OPERATOR_CLEAR);
cairo_paint(cr);
cairo_restore(cr);
}
rsvg_handle_render_cairo (rsvg, cr);
if (!format || !strcmp (format, "png"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment