Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.5.0
-
None
-
f7ee0c9efcb6cb36a95f49bc998524e25480f8ba
Description
When using:
webPage = new QWebPage();
QPrinter printer;
printer.setOutputFileName(outputFilename);
webPage->mainFrame()->print(&printer);
I expected to see a PDF document with a valid text layer.
Got instead:
The text in the PDF wasn't searchable and if I tried to copy some text of the document into a text editor only unprintable characters were pasted. Selecting text in the PDF document worked, though.
This is also happening with the textedit demo, the text is not searchable.