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

http://ks.wikipedia.org triggers an assertion in QTextLayout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.0.0
    • GUI: Text handling
    • None

    Description

      Here's a reduction, using the series of characters that lead there:

      main.cpp
      #include <QtGui/QtGui>
      
      int main( int argc, char** argv ){
           QGuiApplication app(argc, argv);
           Q_UNUSED(app);
           QTextLayout l(QString::fromUtf8("\u06c1\u066e\u06ea\u06a9\u064f\u0646"));
           l.beginLayout();
           QTextLine line = l.createLine();
           line.setLineWidth(25.0);
           l.endLayout();
           return 0;
      }
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            ntg Pierre Rossi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes