save div to pdf preserving css

0
Hello, I'm trying to save pdf using the jspdf script, but it is not working correctly, the code is:

var pdf;
pdf = new jsPDF('landscape');
pdf.addHTML(window.parent.tela_frame.document.getElementById("resize-container"), function() {
    pdf.save('stacking-plan.pdf');
});

In my pdf you can have shapes like circles, rectangles, etc. The circle is not getting round, it's becoming a rectangle when saving ... Does anyone know how to solve this?

EDIT:

asked by anonymous 04.12.2017 / 13:34

0 answers