Hi, in the following example the line from the group with the id rudy is animated without a problem. However the filter referenced through the xlink is cut off after a few moments of the animation. I assume it's a problem with it's clipping area... (Using Squiggle from batik-1.7beta1 under Windows XP) Many thanks! Stevo --------------------------------------------------- Test case: --------------------------------------------------- <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/ 1.1/DTD/svg11.dtd"> <svg width="900" height="800" version="1.1" xmlns="http://www.w3.org/2000/svg"> <defs> <filter id="filter" x="0" y="0"> <feGaussianBlur stdDeviation="4"/> <feOffset dx="13" dy="13"/> </filter> </defs> <use xlink:href="#rudy" filter="url(#filter)"/> <!-- Apache Batik (using Squiggle from batik-1.7beta1) has a problem with the clipping area of this filter - it cuts the shadow off after a little while --> <g id="rudy"> <line x1="0" y1="0" x2="150" y2="200" style="stroke:black;stroke- width:6"> <animateMotion path="M 0 0 500 200" dur="10s" repeatCount="indefinite"/> </line> </g> </svg> ---------------------------------------------------
Hi Stevo. Yes that is indeed a bug. There is a bunch of areas in Batik where referenced elements (such as the referenced filter here) are not updated when the referencing element changes. It might be some time before this one is fixed, as it will require a fair amount of work to do right. *** This bug has been marked as a duplicate of 23443 ***