BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

PDF Export : Font underline issue

Open vparmeland opened this issue 8 years ago • 3 comments

Describe the bug I found an issue with font "Header Large" in "underline" when you want to export to PDF your page.

Steps To Reproduce When try to export in HTML : OK but in PDF (Screenshot bellow)

Screenshots image

Your Configuration (please complete the following information):

  • BookStack v0.22.0
  • PHP Version: 7.X
  • Hosting Method Apache:

vparmeland avatar Aug 29 '18 10:08 vparmeland

Hi NK74,

Works for me: image

I'm using the wkhtmltopdf for export which, as stated, is an option for more accurate PDF generation: https://www.bookstackapp.com/docs/admin/pdf-rendering/

-- Dan

nvnvnvnvn avatar Aug 29 '18 14:08 nvnvnvnvn

Confirmed this is an issue for the default DomPDF rendering. Will just have to be patient since it appears to be a bug open in DomPDF: dompdf/dompdf/issues/609

There's a fix due in the next release of DomPDF which I just tested and I found it will fix this issue. Just need to wait for that.

Otherwise can always setup WKHTMLtoPDF as suggested by @nvnvnvnvn above.

ssddanbrown avatar Aug 30 '18 20:08 ssddanbrown

Hello guys

I'll try next week, i close my issue and i'll see later ;)

vparmeland avatar Sep 04 '18 07:09 vparmeland