Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.8.6
-
None
Description
I've noticed a major change in printing HTML pages into PDF files between Qt 4.7.2 and 4.8.6 (I don't know exactly the version this change happened, nor if the newest Qt still has the same problem).
Newer Qt doesn't move printed elements if they don't fit the current page size, it just prints part of element on current page and the rest on next page. Older Qt prints whole element on next page. I didn't find possibility to change this behaviour (is there any?).
See attached pdf files (4.7.2.pdf is OK, 4.8.6.pdf is not). Notice that also text row is split horizontally, which makes it unreadable.
PS.: I create QWebPage, and then mainFrame()->load() to load HTML, and then mainFrame()->print() using QPrinter set into QPrinter::PdfFormat output format.
Attachments
Issue Links
- is replaced by
-
QTBUG-33207 Printing QWebView not longer takes into account page breaks
- Closed