Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Incorrect text. svg to png QtWebkit
Glopirin last edited by Glopirin
Sorry for my bad English.
Please, help me!
I try to convert svg to png with WebKit. For a basis I took such example http://www.qtcentre.org/threads/22982-Create-Transparent-PNG-Image
In the end, Qtwebkit render text incorrect. pictures in attachments.
When reducing the picture size ".svg", the text becomes even worse in ".png"
How can i fix it?
what do you expect? Every downscaling results in loss of quality.
And since SVG is a vector format and you are converting to a pixel format you can expect such an effect for sure.
What is the result size of the PNG?
Beside that, why do you use QtWebkit for this purpose? Qt also offers a QtSVG module ,which is also way more lightweight than the QtWebkit module.