python - Reusing the same SVG in a PDF with wkhtmltopdf -


I have the following HTML for conversion of PDF using wkhtmltopdf:

  Lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Object data = "first. Svg" width = "100" height = "100" type = "image / svg + xml" & gt; & Lt; / Object & gt; & Lt; Object data = "seconds svg" width = "100" height = "100" type = "image / svg + xml" & gt; & Lt; / Object & gt; & Lt; Object data = "third. Svg" width = "100" height = "100" type = "image / svg + xml" & gt; & Lt; / Object & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

I will use these SVG files more than once, for example, at the top of each page.

How do I output Output PDF files re-use the already existing SVG, where the document increases the filestyle without a new broadcast in the PDF.

It seems that you can turn the last SVG image into a glyph, but I am afraid that I do not have much detail compared to offering it.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -