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

drawText function lead to Debug Assert with specific fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.5.2
    • None
    • Building with QtCreator (packed in Qt 6.5.2 download) in Debug mode
    • Windows

    Description

      With this mini demo program main-1.cpp
      Build with Qt 6.5.2 Debug build. It lead to a Debug Assert as shown in the attached screenshot.
      This debug assert only happen with some fonts.
      If I change the font to "Arial" (main.cpp), there is not Debug Assert.

      Attachments

        1. main.cpp
          0.7 kB
        2. main-1.cpp
          0.7 kB
        3. Screenshot 2025-03-14 132553.png
          Screenshot 2025-03-14 132553.png
          136 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            shugang Shugang Kang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes