[SOLVED] Bad QML font rendering in Kubuntu 15.04
-
wrote on 23 Jul 2015, 06:41 last edited by Raistlin Majere
Good time of day :)
I`m newbie in QT and have weird troubles with font rendering of QML Text component. Code is very simple:import QtQuick 2.0 Rectangle { width: 800 height: 600 color: "#000000" Text { x: 339 y: 293 text: "Bad rendered text :(" color: "#ffffff" } }
And I get this terrible mess of pixels.
Is there a way to make it render properly?
-
Good time of day :)
I`m newbie in QT and have weird troubles with font rendering of QML Text component. Code is very simple:import QtQuick 2.0 Rectangle { width: 800 height: 600 color: "#000000" Text { x: 339 y: 293 text: "Bad rendered text :(" color: "#ffffff" } }
And I get this terrible mess of pixels.
Is there a way to make it render properly?
wrote on 23 Jul 2015, 12:00 last edited by@Raistlin-Majere Hi, that looks terrible, indeed. ^_^
As a workaround, maybe usingText { renderType: Text.NativeRendering }
might do. -
@Raistlin-Majere Hi, that looks terrible, indeed. ^_^
As a workaround, maybe usingText { renderType: Text.NativeRendering }
might do.wrote on 23 Jul 2015, 12:53 last edited by@Wieland
Thank You. It helps when program is running, but it does nothing in QT Creator designer.
Anyway it is enough for me :)
Thank You again :) -
@Wieland
Thank You. It helps when program is running, but it does nothing in QT Creator designer.
Anyway it is enough for me :)
Thank You again :)wrote on 29 Apr 2023, 22:08 last edited by@Raistlin-Majere, could be that QT Designer itself needs to set that flag. Perhaps report it to the relevant bugtracker.