How to insert a SVG file in a PDF document?

后端 未结 4 1085
长情又很酷
长情又很酷 2020-12-19 19:50

I\'m trying use embeddSVG.py to embed an SVG in a PDF, but Adobe Acrobat Reader doesn\'t show svg content in my pdf.

4条回答
  •  粉色の甜心
    2020-12-19 19:57

    Save the SVG as a PDF, and then open the PDF in Acrobat.

    For example, if you create the SVG in Inkscape, then you would go to File -> Save a copy -> Save as PDF, and then open it up in Acrobat. This method should preserve text and vector paths.

    If you instead choose Print -> Print to File as PDF, then the image will become rasterized (pixelated) and lose its vector powers.

    You may also save your SVG image as a DWG file or as an EMF file, both of which are easier formats to open/import into Acrobat than an SVG. (Note to Adobe: "Hey, Adobe, it's time to start supporting direct SVG imports into Acrobat!")

    If you are working with SVGs, Inkscape or a similar program (Illustrator or CorelDraw) is essential. Inkscape is free.

提交回复
热议问题