title: PhantomJS cutting/splitting words in half across page breaks
body: <p>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 <a href="https://github.com/ariya/phantomjs/issues/14892" rel="noreferrer">created an issue</a> on phantomjs github with no response yet.</p>
  
  <p>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.</p>
  
  <ol>
  <li><p>Which version of PhantomJS are you using? 
  <a href="https://github.com/amir20/phantomjs-node" rel="noreferrer">phantomjs-node ^v2.1.21</a></p></li>
  <li><p>What steps will reproduce the problem?</p>
  
  <p>a. Create multi page website</p>
  
  <p>b. Render as pdf</p></li>
  <li><p>Which operating system are you using?
  windows 10 x64</p></li>
  <li><p>Did you use binary PhantomJS or did you compile it from source?
  <a href="https://github.com/amir20/phantomjs-node" rel="noreferrer">phantomjs-node</a> pre-compiled</p></li>
  <li>Please provide any additional information below.</li>
  </ol>
  
  <p><img src="https://cloud.githubusercontent.com/assets/13709948/23868424/92e59e26-07dc-11e7-8fa2-817a0f0bb1e9.png" alt="phantomjs_cutting_words_in_half_across_page_breaks"></p>