Bug#508443: When it will hit testing

2008-12-22 Thread Evgeni Golov
Hey Thomas, On Mon, 22 Dec 2008 17:30:59 +0100 Thomas Viehmann wrote: > Here is the fix in the proper location. Works great on my Sparc, thanks! Joss, r1174 did not fix it, btw :) Regards Evgeni, hoping Thomas' patch gets into lenny :) pgpvx5VWQL7rx.pgp Description: PGP signature

Bug#508443: When it will hit testing

2008-12-22 Thread Thomas Viehmann
And here is some analysis for the curious: When rx or ry is very small, the coordinate arithmetic at the top of rsvg-path.c function rsvg_path_arc leads to y1, y2 or x1, x2 being large and actually equal (due to precision restrictions). This in turn has distance d == 0 and then sfactor == infinity

Bug#508443: When it will hit testing

2008-12-22 Thread roucaries bastien
On Mon, Dec 22, 2008 at 5:30 PM, Thomas Viehmann wrote: > Here is the fix in the proper location. Thank you :-) Will wait the fix :-) > Kind regards > > T. > > --- librsvg-2.22.2.orig/rsvg-path.c > +++ librsvg-2.22.2/rsvg-path.c > @@ -114,8 +114,9 @@ >cause divide by zero and subsequent

Bug#508443: When it will hit testing

2008-12-22 Thread Thomas Viehmann
Here is the fix in the proper location. Kind regards T. --- librsvg-2.22.2.orig/rsvg-path.c +++ librsvg-2.22.2/rsvg-path.c @@ -114,8 +114,9 @@ cause divide by zero and subsequent NaNs. We should really do some ranged check ie -0.001 < x < 000.1 rather can just a straight

Bug#508443: When it will hit testing

2008-12-22 Thread Thomas Viehmann
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 evenin

Bug#508443: When it will hit testing

2008-12-22 Thread Bastien ROUCARIES
Hi, Now a question when the package will hit testing? Regards -- "ROUCARIÈS Bastien" roucaries.bastien+deb...@gmail.com --- DO NOT WRITE TO roucaries.bastien+blackh...@gmai