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

When using QML Text with QT_SCALE_FACTOR set and FreeType font engine, text with pixel size 32+ is scaled wrong

    XMLWordPrintable

Details

    • 104e6d0f5427f5ebaab106b1651eb76c4c56df98, 8d6522ddd0dcc90e0551f87be9d1a6452f365548

    Description

      When having a QML Text (with NativeRendering set) with QT_SCALE_FACTOR=2 and FreeType font engine, any text with size 32 or more is clipped and scaled wrong. Changing any of these previous factors fixes the issue: QT_SCALE_FACTOR -> 1 or remove the FreeType font engine.

      Steps to reproduce:

      • Run attached sample
      • EXPECTED: The text "pixelSIZE 32" is bigger than "pixelSIZE 31" and not clipped
      • ACTUAL: The text "pixelSIZE 32" is clipped and way too small

      Attachments

        1. qtbug55856.png
          52 kB
          Jussi Witick
        2. qtbug55856.zip
          1 kB
          Jussi Witick
        For Gerrit Dashboard: QTBUG-55856
        # Subject Branch Project Status CR V

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes