Created attachment 49559 [details] test HTML file Version: 4.4.0 (using KDE 4.4.5) OS: Linux The bug was originally reported to us in KMyMoney -> BUG:241773 We have a KHTMLView where we display reports to the user. To print, we call KHTMLView->print() If the HTML is bigger than the page, it only prints one page or some other weird issues, particularly if it is wider. I'm adding a sample HTML file and the resulting PDF file, with only 1 page printed. Reproducible: Always Steps to Reproduce: Open the html file Print to PDF Actual Results: The PDF content is only partial compared to the actual HTML file Expected Results: print the whole HTML file
Created attachment 49560 [details] resulting PDF file
The attached PDF is the result of opening the HTML in Konqueror and printing to PDF file.
*** Bug 241773 has been marked as a duplicate of this bug. ***
What sort of output would you expect here? The normal khtml behavior when printing in general is to scale down, which it doesn't do here for some reason --- but that tends to fail in some cases. Do you expect any tables you produce to be much wider than the one here?
Yes, they could be twice as double as this one or more. Either scale down or print multiple pages with the rest of the contents. Having the option to choose between the two possibilities would be a plus. ;)
Should be fixed now in 4.6 and master branch. The problem was a regression in how scaling was applied, so we accepted too big pages but didn't apply the scaling necessary to fit it page. I do not know when the regression was created.