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

RTL not working as expected

    XMLWordPrintable

Details

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

    Description

      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();
      }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes