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

If the dpi has scaling and the QFont::setStretch parameter is less than 100, the drawing will be abnormal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2, 6.8.0
    • GUI: Painting
    • None
    • Windows

    Description

      Set the aspect ratio stretch of text through QFont::setStretch in the code. If the dpi has scaling and the QFont::setStretch parameter is less than 100, the drawing will be abnormal.

      When the system DPI is scaled to 100% or Qt scaling is disabled:

      When the system DPI scaling is not 100% and Qt scaling is enabled:

      If the QFont::setStretch parameter is greater than 100, there is no problem:

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            gongjianbo1992 建波 龚
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes