The imageSVG() method of tcpdf is not rendering correctly the svg file
问题 I have the following svg file: http://jsfiddle.net/wptn28c5/ <svg></svg> that renders: However, by using tcpdf ($pdf->imageSVG()) i get a pdf file that renders: 回答1: The SVG standard is not fully implemented in TCPDF, so not all SVGs will render correctly inside TCPDF as is. For those cases you'll either need to use setRasterizeVectorImages (requires ImageMagick) to rasterize the SVG on the fly for you - or tweak the SVG into a form that would work. With this specific file, I suspect that the