-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Alvin Penner Sent: zaterdag 30 augustus 2008 22:57 To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Win32 nightly builds don't work since Aug 16
- running Win32 Inkscape19763-0808291650.7z
- the attached file crashes with the message :
http://www.nabble.com/file/p19237076/about.svg about.svg
terminate called after throwing an instance of 'Geom::ContinuityError' what(): lib2geom exception: Non-contiguous path (src/2geom/path.cpp:88)
Investigation showed the following inequality throws the exception:
(136.653830 , -638.496893) == (136.653830 , -638.496893)
which in hex looks like:
(406114EC2CAB84D2 , C083F3F9A32A10A6) == (406114EC2CAB84D2 , C083F3F9A32A10A7)
This stems from a difference in curvetype I think... (the last two curves in the loop before the exception being "N4Geom11BezierCurveILj1EEE" and "N4Geom11SBasisCurveE"). Apparently the endpoints and transformed slightly different for sbasiscurves.
As a temporary fix I did the following. 2geom is not able to maintain SVGElliptical arcs after a transform; they are converted to SBasisCurves. To fix the crash in the method "LoadPathVector" (converting 2geom paths to livarot paths), I now convert the 2geom path to a 2geom path with only bezier curves when a transform should be applied. Note that this is a temporary work around!!
-Johan