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

Details

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

    Description

      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?

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes