Export SVG elements to PDF?

后端 未结 4 1692
时光说笑
时光说笑 2021-02-05 22:56

I have a visualization generated by d3 (a javascript visualization library similar to Protovis or Raphael, which draws stuff using SVG elements). The vis is interactive, so the

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-06 00:02

    There's also wkhtml2pdf, which can render anything webkit can as a PDF. If you want to render a combination of SVG and HTML, or want to have some JavaScript run before the PDF snapshot is taken, it's great for that.

    • http://code.google.com/p/wkhtmltopdf/

提交回复
热议问题