svgdotjs/svg.import.js

Doesn't support symbols exported from Illustrator

thellers opened this issue · 4 comments

Hi,

I'm exporting from Illustrator, and making heavy use of symbols to add structure to my graphics.

Sadly, the plugin doesn't appear to support symbols. Graphics contained in symbols are missing and I get 'SVG Import got unexpected type Symbol'.

@thellers Don't suppose you found a work around for this issue?

wout commented

As of version 1.0.0-rc.10 importing raw svg will just work out of the box. Symbols are already implemented so as soon as I release rc10 this issue will be solved.

@wout Any update on this issue?

I have done a patch which approaches this issue (#39). I did't mark it as a fix for this because I don't know if illustrator would introduce more incompatibilities. At least a standard symbol works. Could someone confirm this?