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

Cocoa: Bounding rect of non-printable character is non-empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.6.0
    • GUI: Text handling
    • None
    • Mac OS X

      There is a platform regression between Carbon and Cocoa in QFontMetrics::tightBoundingRect() and possibly in similar functions. When getting the bounding rect of a control unicode character, an empty QRect(0, 0, 0, 0) will be returned on Carbon, and a non-empty rectangle on Cocoa.

      The former behavior seems to make the most sense. Test case in related task.

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

            Unassigned Unassigned
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes