wkhtmltopdf failure when embed an SVG

前端 未结 4 536
-上瘾入骨i
-上瘾入骨i 2020-12-17 14:27

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.

4条回答
  •  太阳男子
    2020-12-17 14:53

    Right .. I managed to pull it off finally ... all needed was a bit of treatment on the original eps file. I opened the file with illustrator and chose to "flatten transparency" .. maybe what it does was to flatten the many layers of the file or something .. then save as svg .. and it rendered nicely in the PDF ..

    Hopefully this helps if anyone out there would have the same issue as I did. Thank you! :D

提交回复
热议问题