parallax / jsPDF

Client-side JavaScript PDF generation for everyone.

Home Page:https://parall.ax/products/jspdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Part of the text at the pagination point is missing。 doc.html()

zx-star opened this issue · comments

I would like to export the HTML page as PDF using HTML() . The PDF format is A4
I am certain that I have correctly configured these: AutoPaging: 'text',
Like this:
Doc.html (document. getElementById ('app '),{
fontFaces: fonts,
autoPaging: 'text',
html2canvas: {
allowTaint: true,
scale: scale,
useCORS: true,
scale: scale,
letterRendering:true
}
}

I think the generated PDF will automatically wrap the text at the pagination point.
The PDF appears to wrap automatically, but the lower part of the text is missing

This is a part of my HTML page near the pagination
2291715187968_ pic

and this is pdf
2281715187948_ pic