Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79678

QtWebGL - Fonts are not rendered properly for QML Label Component in browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.13.1
    • QPA: WebGL
    • None
    • Ubuntu 16.04

      Qt 5.13.1

      g++ 5.4.0 20160609

      Chrome 70
    • Linux/X11

    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 } } }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jefernan Jesus Fernandez
            nara1981 narayanan k
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes