Has anyone in this vast space has ever had the luck to successfully create a PDF with an embedded SVG on an HTML? I\'ve been receiving segmentation fault all the time.
I had similar problem. Seems like javascript embedded in SVG image can cause segmentation fault.
I was generating SVG graphs using pygal Python module. To successfully generate PDF from HTML with SVG graphs I had to do several things:
Specify image size in svg tag, like
(In case of pygal use explicit_size keywoard)
Embed SVG image into img tag in base64 encoded form, like
I was using 11th version of wkhtmltopdf.