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

Quick's Text doesn't render connected Arabic characters properly if RichText elements are used

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Qml will disconnect Arabic characters into stand alone characters if RichText elements are used to set styling for the text.

      Example QML:

      Text {

            id: resultTxt text: "بِّسْمِ اللَّـهِ ا<span style=\"color:blue\">ل</span>رَّحْمَـٰنِ الرَّحِيمِ"

           }

       

      as opposed to :

      Text { id: resultTxt text: "بِّسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ"}

      For a comparison, the font was rendered correctly on Firefox browser, as shown in the attachment. Also attached is the rendering of the first Qml text output with RichText elements.

      Attachments

        1. qml-bug_report.png
          qml-bug_report.png
          21 kB
        2. firefox-OK.png
          firefox-OK.png
          11 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            joe.abd.halim yada yada
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes