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

Rendering of some TrueType fonts is not correct in Qt Quick on Linux, works OK in Widgets on Linux and on Mac and Windows in Qt Quick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.3.1
    • 5.1.0 , 5.2.1, 5.3.0 Beta1
    • None
    • Linux
    • macOS
    • c8db5397422783648fc687c337f42e9055873572

      The issue occurs with the attached "Montserrat" font in a basic QML code:

          FontLoader { id: montserratFont; source: "../../montserrat/Montserrat-Bold.ttf" }
          Text {
              font.family: montserratFont.name
              font.pointSize: 26
              text: qsTr("Do \"o\", \"O\", \"d\", \"D\" look OK?")
              anchors.centerIn: parent
          }
      

      The glyphs of "o" and "d" are cut at the bottom side. See the screenshot

      The issue occurs on Linux but cannot be observed on Windows, neither on Mac. It also occurs on QNX. Is it something related to FreeType?

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

            bweimer Bernd Weimer
            vminenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes