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

QFontMetrics::boundingRect() can return too big a height when calculating the bounding rect on X11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • 4.6.0
    • 4.2.2
    • GUI: Painting
    • None

      QFontMetrics::boundingRect() can return too big a height when calculating the bounding rect on X11. When doing:

      QRect br = fm.boundingRect("0");

      the result is a lot different when comparing Windows to X11, the padding ends up being around 8 pixels on X11 whereas on Windows it is 2.

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

            esabraha Eskil Abrahamsen Blomfeldt
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes