Commit d2cdcae5 authored by Darin Adler's avatar Darin Adler

Require newer libart. Get rid of bug workaround for old libart.

	* configure.in: Require newer libart.
	* rsvg.c: (rsvg_render_bpath): Get rid of bug workaround for
	old libart.
parent d1760d4a
2001-08-22 Darin Adler <darin@bentspoon.com>
* configure.in: Require newer libart.
* rsvg.c: (rsvg_render_bpath): Get rid of bug workaround for
old libart.
2001-08-22 Darin Adler <darin@bentspoon.com>
* Makefile.am: Remove things that are duplicates of stuff
......
......@@ -32,7 +32,7 @@ GNOME_PLATFORM_GNOME_2(yes)
GLIB_REQUIRED=1.3.1
XML_REQUIRED=2.2.8
ART_REQUIRED=2.3.4
ART_REQUIRED=2.3.5
GTK_REQUIRED=1.3.7
GDK_PIXBUF_REQUIRED=1.3.7
FREETYPE_REQUIRED=2.0.1
......
......@@ -775,13 +775,6 @@ rsvg_render_svp (RsvgCtx *ctx, const ArtSVP *svp,
art_render_invoke (render);
}
/* art_affine_expansion is missing the fabs call */
static double
rsvg_affine_expansion (const double src[6])
{
return sqrt (fabs (src[0] * src[3] - src[1] * src[2]));
}
static void
rsvg_render_bpath (RsvgCtx *ctx, const ArtBpath *bpath)
{
......@@ -840,7 +833,7 @@ rsvg_render_bpath (RsvgCtx *ctx, const ArtBpath *bpath)
{
/* todo: libart doesn't yet implement anamorphic scaling of strokes */
double stroke_width = state->stroke_width *
rsvg_affine_expansion (state->affine);
art_affine_expansion (state->affine);
if (stroke_width < 0.25)
stroke_width = 0.25;
......
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