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

[Mac] QML - Bold font style not applied to Hebrew

    XMLWordPrintable

Details

    • macOS

    Description

      In QML Text (also in TextEdit, probably in every control) bold text style is not applied to Hebrew text. Default system font is used.

      import QtQuick 2.15
      import QtQuick.Layouts 1.15
      import QtQuick.Window 2.12
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hebrew bold not applied")
      
          ColumnLayout {
              id: layout
              x: 40
              y: 40
              spacing: 10
      
              Text {
                  text: 'שלום עליכם regular'
                  font.pixelSize: 20
              }
      
              Text {
                  text: 'שלום עליכם bold'
                  font.pixelSize: 20
                  font.bold: true
              }
      
              Text {
                  text: 'שלום עליכם bold'
                  font.pixelSize: 20
                  font.weight: Font.Bold
              }
      
              Text {
                  text: '<b>' + 'שלום עליכם bold' + '</b>'
                  font.pixelSize: 20
              }
          }
      }
      

      The issue exists at least on macOS 11

      Attachments

        For Gerrit Dashboard: QTBUG-90343
        # Subject Branch Project Status CR V

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            sergei.nevdakh Sergei Nevdakh
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes