I also tried zero-ing out x and y in html2canvas but only resulted in an unpredictable behavior. Not exactly the right place to look at.
I have tried to replicate this issue on jspdf v1.4.1 using their preferred version of html2canvas that time which was 0.5.0-beta3. This did not yield the issue I was talking about:
Happy to look at this but I'm swamped with work and schoolwork at the moment, maybe in the future.
html2pdf.js version:
0.9.2
When you explicitly define no margins, there is still a little space to the left of the PDF.
As you can see, the Y axis was respected but seemingly not X. This was the code I used
I also tried zero-ing out x and y in html2canvas but only resulted in an unpredictable behavior. Not exactly the right place to look at.
I have tried to replicate this issue on jspdf
v1.4.1
using their preferred version of html2canvas that time which was0.5.0-beta3
. This did not yield the issue I was talking about:Happy to look at this but I'm swamped with work and schoolwork at the moment, maybe in the future.