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

Text.NativeRendering on Linux/Freetype produces pixelated and offset labels with non-integer QT_DEVICE_PIXEL_RATIO

XMLWordPrintable

    • Linux/X11

      This is a continuation of QTBUG-67007. We tried to fix it but accidentally made it worse, and this bug tracks the current state.

      In a nutshell, when QT_DEVICE_PIXEL_RATIO is set to a non-integer value (e.g. 1.5), text rendered with Text.NativeRendering is not rendered correctly. Originally the problem was that it was pixellated. In QTBUG-67007, we tried to fix that, but accidentally made it worse: now it is not only pixellated, but also visually offset from its desired location. See the attached image.

      Workaround: set Text.QtRendering for every QML item that produces text. However for a large codebase this can be quite troublesome, and obviously an upstream fix is preferred.

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

            esabraha Eskil Abrahamsen Blomfeldt
            pointedstick Nate Graham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes