-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
I noticed that while using the pdf.html() method, the scale factor by which the html is drawn to the pdf is related with the zoom aka scaleFactor of the browser window.
Steps to reproduce: create any pdf document that uses the .html() method, then output various pdfs using different zoom values, for example, 100%, 150%, 200%. The higher the zoom value the bigger the content of html is.
I have checked it several times, and at times the contents get so much bigger that they go out of the page.
I believe that the problem is with html2canvas but should be possible to solve with some look into fixing the aspect ratio of the window.