BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.22k stars 1.9k forks source link

Column height on PDF export #1294

Open JtheBAB opened 5 years ago

JtheBAB commented 5 years ago

Describe the bug The PDF export function does not respect the defined Column height within tables.

Steps To Reproduce Steps to reproduce the behavior:

  1. Create a table with height 31px
  2. Fill the table with data
  3. Export it as pdf
  4. The PDF does not look the same

Expected behavior The PDF should look like the the original. The HTML Export respect the table design. This is an addition to #1280

Your Configuration (please complete the following information):

ssddanbrown commented 5 years ago

Hi @JtheBAB,

PDF rendering, by default, can be fairly inaccurate when compared to the original page view. If you need more accurate PDF rendering it's probably worth following the instructions here to switch to the more accurate WKHTMLtoPDF rendered.

JtheBAB commented 5 years ago

Hi @ssddanbrown

Missed that :(

It looks like it is working better (but only with the version from the website and not the repo from debian).

But the Tables are unfortunately not better.