Using css to style svg is not supported by the ebook-convert (and is not supported by most ebook reading software either). I think the only exceptions are iBooks and browser based ebook renderers like calibre itself, or Sigil (which all use versions of WebKit). I might look into adding support for it someday, but it isn't a priority, patches are welcome.
And note that since epub requires xhtml not html 5, adding the svg: prefix is a must.
Last edited by kovidgoyal; 01-23-2015 at 08:04 PM.
|