play2-pdf
play2-pdf copied to clipboard
Cannot render .SVG file in .scala.html
Is there any chance that play2pdf does not support .svg
in .scala.html
files?
I have seen all flying saucer examples and I couldn't make any of them work.
<svg>
tags wont work
<img source="logo.svg">
wont work
<object data="logo.svg">
wont work
Hi, I think is not possible without changes.
Thanks for the updates - i'll stick to .png for the moment. Its a pity though because the result is so good.. using .svg for the logos would make it look more professional (talking about the digital version)
I find this http://stackoverflow.com/questions/30083029/how-to-add-svg-image-to-pdf-built-with-html-and-flying-saucer-library-and-batik if you want try.