Hi all,
I just added an infinite loop testcase to our testsuite.
The essential SVG part looks like this:
<g> <rect id="rect1" style="fill:#000000;fill-opacity:1" width="491.42856" height="357.14285" x="137.14285" y="169.50504" filter="url(#filter1)" /> </g> <defs> <filter id="filter1"> <feImage xlink:href="#rect1" /> </filter> </defs>
Note how rect1 refers to filter1 that refers to rect1...
I don't know how Inkscape should handle this. Already a warning is reported: ** (inkscape.exe:2592): WARNING **: More than 32 iteration while updating document 'D:\gsoc-testsuite\tester.\testcases\basic\infinite-loop-01.svg'
But no further action is taken, so this warning is spammed until the program runs out of memory and aborts execution.
Any ideas how to solve this?
cheers, Johan
On Tue, Mar 3, 2009 at 4:07 PM, <J.B.C.Engelen@...1578...> wrote:
But no further action is taken, so this warning is spammed until the program runs out of memory and aborts execution.
Any ideas how to solve this?
We have this solved for gradient references, see chase_hrefs in sp-gradient.cpp. We just need to do the same thing for filters.
participants (2)
-
unknown@example.com
-
bulia byak