On Thu, Feb 20, 2020 at 09:02:13AM +1000, Nyall Dawson wrote:
> An example: qtwebkit allows rendering of HTML content direct to a
> QPainter surface, keeping text as text objects and other components as
> vectors. This isn't possible in the webengine classes, at best you can
> render a rasterized image of a page to a painter. Without this
> capability it's impossible in Qt to render HTML content to SVG or PDF
> files without loss of quality.

There's QWebEnginePage::printToPdf() which does keep text as text and vectors
as vectors.

Florian

-- 
m...@the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to