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

Persian punctuation marks at the begginning and end of string are reversed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.8
    • GUI: Text handling
    • None
    • All

    Description

      There is a problem with persian text - punctuation marks are reversed in output.

      For example, I've got a string 

                                                                                                                    ...تفاوت گذاشتن بین گذشته، حال و آینده»

       

      with QPainter-> drawText() or just simply outputting this text with QLabel it appears with reversed punctuation marks  - Symbols like "..." and "»" are reversed in output.

      I attach simple qt gui application with just QLabel on it with text to provide example
       

      Attachments

        1. photo_2021-05-06_16-28-44.jpg
          photo_2021-05-06_16-28-44.jpg
          4 kB
        2. reversed output.png
          reversed output.png
          154 kB
        3. untitled6.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            zhmak zhmak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes