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

RTL not working as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.3.2, 5.4.0 Alpha
    • GUI: Text handling
    • None
    • Windows 7

      Run the following example The text should be started with #oradtest, instad it is written as oradtest#.

      #include <QApplication>
      #include <QTextEdit>
      
      int main(int argc, char *argv[])
      {
      
          QApplication a(argc, argv);
          QTextEdit w;
          QString str("#oradtest בוקר טוב עולם Test #oradtest בוקר טוב עולם Test"
              "#oradtest בוקר טוב עולם Test #oradtest בוקר טוב עולם Test #oradtest בוקר"
                      "טוב עולם ");
          QString html = QString("<html><body><p dir='rtl'>%1</p></body></html> ").arg(str);
          w.setHtml(html);
          w.show();
          return a.exec();
      }
      

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

            esabraha Eskil Abrahamsen Blomfeldt
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes