Bug#508443: When it will hit testing
Thomas Viehmann
tv at beamnet.de
Mon Dec 22 16:04:07 UTC 2008
Bastien ROUCARIES wrote:
> Now a question when the package will hit testing?
When a proper fix is found.
Mind you, the lenny-djvu doesn't ship the SVG.
Of course, the patch below makes the problem go away, but that's curing
the symptoms, most likely. I'll try to find a proper fix in the CET evening.
Kind regards
T.
--- librsvg-2.22.2.orig/rsvg-shapes.c
+++ librsvg-2.22.2/rsvg-shapes.c
@@ -351,6 +351,10 @@
rx = fabs (w / 2.);
if (ry > fabs (h / 2.))
ry = fabs (h / 2.);
+ if (fabs(rx) < DBL_EPSILON)
+ rx = 0;
+ if (fabs(ry) < DBL_EPSILON)
+ ry = 0;
if (rx == 0)
ry = 0;
Thomas Viehmann, http://thomas.viehmann.net/
More information about the pkg-gnome-maintainers
mailing list