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

Characters (glyphs) are vertically misaligned when using renderText() with Qt 4.8.3 on Mac OS X 10.7 and 10.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 4.8.4, 4.8.x
    • Fix Version/s: None
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      Mac OS X 10.7, Mac OS X 10.8, Qt 4.8.4, XCode 4.2
    • Platform/s:
      macOS

      Description

      When rendering a text string in an QGLWidget, some characters are drawn slightly above or below the baseline. The effect is that the string appears as if written by a drunk computer! See enclosed test program and jpg for an example. The high-level culprit routine is renderText(). This bug manifests itself if the test program is run under Mac OS X 10.7 or 10.8. Interestingly the text looks perfect under 10.6.

      Please make this a high priority as this bug affects all Qt programs that write text to their QGLWidgets using renderText() on the modern Macs.

        Attachments

        1. font_test_OSX.jpg
          font_test_OSX.jpg
          77 kB
        2. font_test.zip
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              traveler John Coggi
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes