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

Windows: Arabic Characters in italic appear as square in treeview

XMLWordPrintable

      To reproduce, just run the following code

      #include <QtGui>
      
      int main(int argc, char **argv)
      {
          QApplication app(argc, argv);
          QString label = QString::fromUtf16(L"\x0642");
      	QLineEdit le(label);
          QFont f;
          f.setItalic(true);
          le.setFont(f);
      	le.show();
      
          QTreeWidget tree;
          tree.setColumnCount(2);
          QTreeWidgetItem item(&tree, QStringList() << label << label);
          item.setFont(0, f);
      
          tree.show();
      
      	return app.exec();
      }
      

        1. qtbug23018.zip
          2 kB
        2. not_italic.PNG
          not_italic.PNG
          112 kB
        3. italic.PNG
          italic.PNG
          98 kB
        4. ArabicCharacterItalicInTreeviewBox.png
          ArabicCharacterItalicInTreeviewBox.png
          24 kB
        5. ArabicCharacterInTreeviewCorrect.png
          ArabicCharacterInTreeviewCorrect.png
          23 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            thierryb Thierry Bastian
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes