On 8/26/06, Tavmjong Bah <tavmjong@...8...> wrote:
Hi,
After reading a tantalizing entry in the SVN log file, I just had to
give the latest version a try at loading SVG drawings that use filters.
------------------------------------------------------------------------
r12970 | kiirala | 2006-08-25 20:40:13 +0200 (Fri, 25 Aug 2006) | 3
lines
Fixed a crash in modifying filter parameters in XML editor.
Fixed filters not appearing, when a file with filters is loaded.
------------------------------------------------------------------------
The Gaussian Blur example from my book loaded quite nicely:
http://tavmjong.free.fr/INKSCAPE/MANUAL/images/XMLEDIT/GaussianBlur.svg
There are some display issues when the zoom level is greater than 100%
(horizontal discontinuities appear) but overall a very nice development.
I tried varying the blur radius with the XML editor but the drawing was
not updated.
The Drop Shadow example loaded but did not display correctly.
http://tavmjong.free.fr/INKSCAPE/MANUAL/images/XMLEDIT/DropShadow.svg
I got a number of error messages:
(inkscape:718): GLib-GObject-WARNING **: invalid cast from `SPFeOffset'
to `SPGaussianBlur'
(inkscape:718): GLib-GObject-WARNING **: invalid cast from `SPFeOffset'
to `SPGaussianBlur'
(inkscape:718): GLib-GObject-WARNING **: invalid cast from `SPFeMerge'
to `SPGaussianBlur'
This begs the question, what is the status of filter support?
Filter support is still under development and is unstable at the moment. Play with filters at your own risk:)
Truth is there are a couple of bugs still waiting to be fixed. Stay tuned on the repository logs for updates on this...
A couple of other notes. When reloading the Gaussian Blur file with a
modified blur radius, Inkscape crashed with the error message:
** ERROR **: file sp-object.cpp: line 861 (void
SPObject::releaseReferences()): assertion failed: (this->hrefcount == 0)
aborting...
It seems the SPFilter wasn't releasing its references properly. I have fixed this and will commit as soon as I fix some other related problems.
Trying to drag the right resize handle of the text box doesn't work;
dragging the left handle does.
Beats me...
It's great to see the progress made with SVG filter support!
Tav