Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.13.1
-
None
-
Ubuntu 16.04
Qt 5.13.1
g++ 5.4.0 20160609
Chrome 70
Description
I observed in applications developed using Qt 5.13.1 and WebGL, fonts are not rendered properly on Browser for QML Label component. The same application renders font properly when Text component is used instead of Label.
I've tried running the application on Chrome, Firefox and Safari.
Kindly let me know if you need any other details.
Environment:
Ubuntu 16.04
Qt 5.13.1
g++ 5.4.0 20160609
Chrome 70
import QtQuick 2.13import QtQuick.Window 2.13import QtQuick.Controls 1.2 Window \{ visible: true width: 640 height: 480 title: qsTr("Hello World") Rectangle { id: rectangleId anchors.fill: parent implicitHeight: parent.height implicitWidth: parent.width color: "light green" border.color: "red" Text { id: labelId anchors.fill: parent text: "Hello World" wrapMode: Text.WordWrap color: "green" font.bold: true horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } } }
import QtQuick 2.13 import QtQuick.Window 2.13 import QtQuick.Controls 1.2 Window \{ visible: true width: 640 height: 480 title: qsTr("Hello World") Rectangle { id: rectangleId anchors.fill: parent implicitHeight: parent.height implicitWidth: parent.width color: "light green" border.color: "red" Label { id: labelId anchors.fill: parent text: "Hello World" wrapMode: Text.WordWrap color: "green" font.bold: true horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } } }