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

FontMetrics BoundingRect size is incorrect with chinese characters and any higher DPI text

    XMLWordPrintable

Details

    Description

      FontMetrics BoundingRect is smaller than font height for chinese characters. Also if screen DPI is higher, it will be smaller for normal alphabet text too.

      Steps to reproduce:

      • Run the attached program

      Observer result:

      • Error is shown; bounding rect size is smaller than font height

      Expected result:

      • Error is not shown

      If screen DPI is set higher, it will also break normal alphabet in addition to chinese characters.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes