Using jspdf to save html page as pdf, saved pdf contains incomplete page content if browser is zoomed, Why?
I am using jspdf and html2canvas combination to save html page as pdf. A pdf copy of current page is saved the moment you click a button. The problem is, if you zoom in the page, and then click the button, the saved pdf contains incomplete portion of the current page. Most of the part not visible on page due to zooming, gets cut off in the saved pdf page. What is the solution? Below is the js code being invoked upon click of save button- var pdf = new jsPDF('l', 'pt', 'a4'); var source = $('#someId')[0]; var options = { background : '#eee' }; pdf.addHTML(source, options, function(){ pdf.save(