The solution looks good @jan_blaha :). A colleague recently already found this similar method (haven't had a chance to share it with you yet), but this one just confirm it, and it shows linking too (we couldn't figure out the linking bit before).
Thank you very much for your assistance.
hansip
@hansip
Posts made by hansip
-
RE: SVGs in wkhtmltopdf
-
RE: SVGs in wkhtmltopdf
Thanks for the reply and the demo @jan_blaha. Yeah the page numbers is quite important in the TOC. Looking forward to either chrome-pdf supporting TOC (came across the feature request in chromium project) as I think going forward this has the best chance to support modern browser features, or for wkhtmltopdf to play nicer with SVGs.
-
SVGs in wkhtmltopdf
Hi,
I have a question regarding SVGs appearance in PDF produced by wkhtmltopdf recipe. In short, here's the playground
https://playground.jsreport.net/w/anon/5lZJwIdI
If you run this with 'html' recipe or 'chrome-pdf' recipe, the images look as expected. However, using wkhtmltopdf recipe, we need to specify incorrect height and width to get the image showing (and not squashed). Specifying the correct height and width display the image in squashed dimension, and not specifying height and width does not show the image at all.How do you use SVGs in wkhtmltopdf? We have to use wkhtmltopdf as it looks like the only option that can generate Table of Contents, otherwise we would be happy to use chrome-pdf.
Thanks in advance
hans