Description
Hi all,
I've detected several bugs related to the [printToPdf function from QWebEnginePage.
If you have a styled table like the following minimalistic HTML Code, the function won't save a PDF.
<!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <table> <tr> <th>Month</th> <th>Savings</th> </tr> </table> </body> </html>
At least it's the border attribute at tables which leads to this bug. Furthermore the signal pdfPrintingFinished won't be executed.
Based on this bug, there is no indicator what went wrong during the translation from HTML to PDF.
I tried the translation via the example html2pdf.
Best regards,
Mike
Attachments
Issue Links
- relates to
-
QTBUG-34139 Generating PDF from HTML tables with borders gives bad result if QT_NO_CSSPARSER is set
- Closed