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

QML: individual characters slightly clipped on the right

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Hello,
      I have noticed when rendering large fonts that they get clipped a little bit on the right.

      Someone apparently already hit this in the past: https://stackoverflow.com/questions/51882749/qml-text-rendering-issue

      I attached the repro (it runs with qmlscene main.qml, I see the same on qt5 and qt6).

      This is with native text rendering (through freetype as I'm on linux).
      I've disabled distance field as it looks horribly polygonal (see relevant attachment)

      I checked in renderdoc and the text gets correctly rendered into the small character atlas (see attached atlas.png)

      Attachments

        1. anim.tar.gz
          181 kB
          Jean-Michaël Celerier
        2. atlas.png
          24 kB
          Jean-Michaël Celerier
        3. catamaran-ok.png
          125 kB
          Jean-Michaël Celerier
        4. distancefield.png
          87 kB
          Jean-Michaël Celerier
        5. monserrat-ok.png
          121 kB
          Jean-Michaël Celerier
        6. qt-bad.png
          114 kB
          Jean-Michaël Celerier
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes