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

QFontMetrics::boundingRect("hi") crashes under console UNIX/Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.6.0, 4.6.1, 4.6.2, 4.7.0
    • GUI: Font handling
    • None
    • Linux, OpenSolaris

      Under Linux/(x86-32,x86-64) and OpenSolaris/SPARC function QFontMetrics::boundingRect crashes in CONSOLE (not Gui) applications. The crash appears somewhere deep inside font engine.

      Under Windows everything works fine. Also, if I remember correctly, QT below 4.5 is not affected. But I am not sure, sorry.

      Simplest program that reproduces problem is attached.

        1. main.cpp
          0.2 kB
          Andrey Bergman
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            vkni Andrey Bergman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes