I use Prince for creating (2-column) PDF from an HTML article that has lots of SVG diagrams included as img elements, like
<img src="./img/IntroUML4.svg" width="500"/>
In the PDF output, the SVG imgs' width settings get ignored and they are scaled to the width of the page when top-floated (or to the column width when column-top-floated).
I'm using prince-image-resolution: normal.
How can I control the size of the SVG img elements such that they don't get scaled?
<img src="./img/IntroUML4.svg" width="500"/>
In the PDF output, the SVG imgs' width settings get ignored and they are scaled to the width of the page when top-floated (or to the column width when column-top-floated).
I'm using prince-image-resolution: normal.
How can I control the size of the SVG img elements such that they don't get scaled?