I am using the phantomjs-node api to render a PDF. The problem is that words that appear near the end of a page are split across 2 pages, half the word on page 1, other half on page 2. I cannot understand why this is happening. What can I do to fix this? I already created an issue on phantomjs github with no response yet.
The length of data is unknown until runtime so I don't see it being feasible to put a hard page break in the rows of data.
-
Which version of PhantomJS are you using? phantomjs-node ^v2.1.21
-
What steps will reproduce the problem?
a. Create multi page website
b. Render as pdf
-
Which operating system are you using? windows 10 x64
-
Did you use binary PhantomJS or did you compile it from source? phantomjs-node pre-compiled
- Please provide any additional information below.

via TetraDev
No comments:
Post a Comment