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

QStaticText crashes with zero-width unicode string

    XMLWordPrintable

Details

    • 5768bab92310ee553822de8a752f94b9137b23df

    Description

      The following crashes with:

      ASSERT: "size == ti.glyphs.numGlyphs" in file text/qstatictext.cpp, line 460

      #include <QtGui>

      int main(int argc, char** argv)
      {
      QApplication app(argc, argv);

      QStaticText text;
      text.setText(QString::fromAscii("A͗ͦ"));
      text.prepare(QTransform(), QFont());

      return 0;
      }

      Attachments

        1. bug_qstatictext.tgz
          0.5 kB
        2. qt-only.tar.gz
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            johnflux John Tapsell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes