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

Noto Sans Myanmar font rendered with extra spaces for StyledText format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.7.2
    • GUI: Font handling
    • None
    • Debian 12
      MacOS Sonoma 14.5
    • Linux/X11, macOS

    Description

      Noto Sans Myanmar font spaces for Text.StyledText format looks broken(see attached screen)

      For example for Noto Sans and DejaVu Sans it looks better(see attached screen)

      Example(picture.svg attached)

      import QtQuick
      import QtQuick.Layouts
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")    
          
          Text {
              id: root
              anchors.centerIn: parent        
              textFormat: Text.StyledText
              text: "<img src='file:///home/test_user/Downloads/picture.svg' width='13' height='13'/> Text after picture"
              font.family: "Noto Sans Myanmar"
              font.pixelSize: 24
          }    
         
          Text {
              anchors.bottom: parent.bottom
              text: "actual font: " + root.fontInfo.family
          }
      } 

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            evgenpervenenko Evgen Pervenenko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes