I have a dashboard page generated using d3, it shows different html tables with styles and date. I'm using JSPdf to export the tables to pdf for the end user, now the problem is when i tried this on a production machine (a different Laptop with a slightly smaller screen) the pdf is displaying the tables but some text is overlapping outside their cells and i end up with text scrabbeled, Now even in my screen, all it takes is a zoom in our out in my navigator to end up with a pdf that shows some data in a misordered ways, anyone has been through this and got any idea ? i need to get a pdf export with organized data perhaps something similar to what's displayed in my browser, because for some reason the result on the pdf is different from the html webpage output.
Here's an issue on GitHub with a screenshot showing the problem : https://github.com/MrRio/jsPDF/issues/879
You can use a tool such as SVG Crowbar or Hanpuku to save the SVG canvas to a SVG file with all the necessary styling. You can then convert to PDF using Inkscape or Illustrator.