SVG files without viewBox defined (but height and width defined) do not render when using fit. If I manually add viewBox="0 0 width height", then it renders fine.
For now, I'm parsing the SVG node and appending viewBox manually if it's missing, before sending it to pdfmake.
on node
"pdfmake": "0.1.65",
SVG files without viewBox defined (but height and width defined) do not render when using fit. If I manually add viewBox="0 0 width height", then it renders fine.
For now, I'm parsing the SVG node and appending viewBox manually if it's missing, before sending it to pdfmake.
on node
"pdfmake": "0.1.65",