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

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

XMLWordPrintable

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes