0

Any plugin i use in PHP produces the same results. I have read Wkhtmltopdf Characters in single line partially cut between pages and followed through with some instruction in the bug reports. I am using Yii framework and on the view using CGridView. I have placed the following on the style sheets.

.nobreak,  table tr, table tr td {
    page-break-inside: avoid;
}

This fix does not work and text still gets cut off. If i open the page in html and use the pdf printer from adobe it works fine. but i need the pdf to be auto generated.

 wkhtmltopdf --version
Name:
  wkhtmltopdf 0.11.0 rc1
Community
  • 1
  • 1
shorif2000
  • 2,582
  • 12
  • 65
  • 137

1 Answers1

0

latest releases fixes this issue http://wkhtmltopdf.org/ v0.12.1 as of writing

shorif2000
  • 2,582
  • 12
  • 65
  • 137
  • I'm using 0.12.1 and I'm still getting lines splitting at the bottom of each PDF using Ubuntu 12.04.5 – mtpultz Jan 27 '15 at 22:49