well there are a couple of issues here. First, there are still browsers that 
don’t support svg (although they are only a few and not the main ones). Second, 
there is a bug in the SVG macro that prevents links in certain browsers, like 
Chrome. So if SVG support was native and transparent, then your experience 
would be even across the board.

Dan

From: Paul Libbrecht-2 [via XWiki] 
Sent: Thursday, April 21, 2016 11:05 PM
To: dullfig 
Subject: Re: XWiki, SVG and Apache Batik

Hello Dan, 

I believe the Batik library is used for printing to PDF only, but I 
could well be wrong. 

You can use an SVG image that you upload as you would upload a png 
image.  This will simply embed it within the html page and let the 
browser render it. This works since recent versions of XWiki (maybe 6?). 
I doubt this uses Batik. 

Isn't that sufficient? 
At least, to my eyes,  this is a very important use case for all the 
technical documentation we write. 

Paul 





> dullfig <mailto:[hidden email]> 
> 21 April 2016 at 17:54 
> It is my understanding that XWiki includes the Apache Batik library to 
> handle 
> SVG content, so my question is why does XWiki not handle SVG content 
> natively (without the SVG Macro), and why does the browser have to support 
> SVG? With Batik, shouldn't XWiki be able to render the SVG without the 
> help 
> of the browers? 
> 
> Dan 
> 
> 
> 
> -- 
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-SVG-and-Apache-Batik-tp7599123.html
> Sent from the XWiki- Users mailing list archive at Nabble.com. 
> _______________________________________________ 
> users mailing list 
> [hidden email] 
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________ 
users mailing list 
[hidden email] 
http://lists.xwiki.org/mailman/listinfo/users



--------------------------------------------------------------------------------

If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/XWiki-SVG-and-Apache-Batik-tp7599123p7599133.html
 
To unsubscribe from XWiki, SVG and Apache Batik, click here.
NAML



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-SVG-and-Apache-Batik-tp7599123p7599152.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to