Powerstroke LPE lib2geom error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Johan Engelen |
Bug Description
I'm having some fun throwing script-generated SVG at the new Powerstroke live path-effect. It's worked like a champ until recently. I get the following error in the console, as many times as I have paths. It doesn't stop Inkscape from running, but the LPE doesn't render. The error is:
** (inkscape:17852): WARNING **: Exception during LPE [Unstable!] Power stroke execution.
lib2geom exception: rx2 < 0, while computing 'rx' coefficient (2geom/
I saw on the mailing list that extensive changes were recently made to the math of Powerstroke.
I've attached the SVG file, and a raster of the image when it worked below for your use.
I'm using Inkscape 0.48+devel r11266 (Apr 20 2012) on Kubuntu 11.10
Adding the new "linejoin_type" attribute to the effect definition yields the same result. This is not reflected in the attached SVG.
Thanks.
Related branches
tags: |
added: livepatheffects removed: powerstroke |
tags: |
added: 2geom removed: lib2geom |
Reproduced with Inkscape 0.48+devel r11265 on OS X 10.7.2 (64bit).
Attaching reduced test case with one path extracted from the large test file (1.7 MB).
Other ways to reproduce:
1) switch to the pencil tool
2) reduce smoothness to a very low value
3) choose one of the 'Triangle' shapes (uses Powerstroke)
4) draw a curved path with the pencil (freehand) tool
-> powerstroke path effect often doesn't apply correctly, and produces the same error messages:
** (inkscape:99678): WARNING **: Exception during LPE [Unstable!] Power stroke execution. src/2geom/ ellipse. cpp:87)
lib2geom exception: rx2 < 0, while computing 'rx' coefficient (../../