On Thu, 2008-06-26 at 13:06 -0500, Aaron Spike wrote:
Tavmjong Bah wrote:
** (inkscape:9962): WARNING **: svgd str: M 470,-165.094 C 463.359,-144.158 494.001,-138.293 491.066,-119.944 C 490.507,-103.773 485.828,-79.478 503.305,-72.742 C 507.168,-70.474 521.992,-83.950 516.537,-68.776 C 513.522,-49.912 516.709,-25.731 535.399,-16.125 C 551.003,-9.792 575.376,-17.042 550.519,-27.731 C 556.650,-39.723 554.212,-45.855 540.024,-45.090 C 517.107,-56.704 542.053,-73.859 556.967,-61.306 C 573.040,-58.242 589.202,-54.980 600,-41.393 C 598.833,-50.390 589.912,-57.816 600,-63.689 C 596.203,-69.665 564.345,-58.787 581.167,-76.241 C 589.536,-85.017 580.931,-114.73 576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C 526.038,-95.605 551.030,-102.009 561.031,-92.81 C 576.415,-92.302 545.527,-104.363 565.270,-105.191 C 572.972,-120.975 543.736,-98.314 536.033,-104.238 C 525.682,-116.525 494.984,-114.75 497.886,-135.0 C 511.721,-144.197 534.296,-130.717 545,-149.218 C 524.016,-142.21 503.022,-153.159 487.568,-165.094 C 481.712,-165.094 475.856,-165.094 470,-165.094 z terminate called after throwing an instance of 'Geom::SVGPathParseError' what(): parse error
That is invalid path data. Look at the 10th line in for a lonely minus:
576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C
So I guess the questions are 1) what is writing out bad path data and 2) why are we parsing it anyway?
Steps to reproduce (with latest svn):
Make a diamond path with pen tool. Turn into pattern (Object->Pattern->Objects to Pattern) Draw a rectangle. Fill rectangle with pattern. Crash.
One other thing I've noticed, is that it now requires two mouse clicks to set a point when drawing with the pen tool straight lines. I am guessing this is a bug too.
I'll file a bug report tomorrow.
Tav