I am using phantomjs-node api to render PDF. The problem is that the words that appear closer to the end of the page are divided into 2 pages, half the word on page 1, the other half on page 2. I do not understand why this is happening. What can I do to fix this? I already created a problem on phantomjs github with no response.
The data length is not known until runtime, so I donβt see it being possible to set a hard page break in the data rows.
What version of PhantomJS are you using? phantomjs- node ^ v2.1.21
What steps will reproduce the problem?
a. Creating a multi-page website
b. Pdf rendering
What operating system are you using? windows 10 x64
Did you use binary PhantomJS or did you compile it from source? phantomjs-node precompiled
- Please provide any additional information below.

source share