Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.3.0
-
Reproduced on Windows, (probably on all platforms)
Description
When rendering HTML data to QPicture using QWebFrame, the text elements in the HTML are all converted into outline, losing text information.
The same HTML rendered to PDF via QPrinter retains text information correctly.
Attached example reproduces the problem.
Run the example, a PDF will be created. The top line of the text in the PDF is first rendered from HTML to QPicture then drawn onto the printer. The lower line of the same text is rendered from the same HTML data directly to the printer.
When rendering HTML to SVG using QSvgGenerator, all text are lost. They
are not even converted to outlines.
This is a regression from Qt 4.8 where QPicture retains the text information.