Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render .SVG file in .scala.html #20

Open
immortalcy opened this issue Oct 13, 2016 · 3 comments
Open

Cannot render .SVG file in .scala.html #20

immortalcy opened this issue Oct 13, 2016 · 3 comments
Labels
enhancement Feature or a little enhancement request. help wanted Hey, help me here!

Comments

@immortalcy
Copy link

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

@marcosinigaglia
Copy link
Member

Hi, I think is not possible without changes.

@marcosinigaglia marcosinigaglia added enhancement Feature or a little enhancement request. help wanted Hey, help me here! labels Oct 14, 2016
@immortalcy
Copy link
Author

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)

@marcosinigaglia
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature or a little enhancement request. help wanted Hey, help me here!
Projects
None yet
Development

No branches or pull requests

2 participants