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

Arabic text line with space tail can lead line head exceed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 5.7.0
    • 5.4.2, 5.6.0, 5.7.0
    • GUI: Text handling
    • None
    • linux/windows all affected.

    Description

      Multiline arabic text with space at the tail of each line can lead the line head exceed.

      The attachment `arabic-bad.txt` show the wrong effect, while `arabic-ok.txt` show the correct effect.

      You can just use a QML `Text` to test it.(while i don't know why when using QtCreator, the bad arabic text cannot copyed to the editor by Ctrl-C/Ctrl-V, it will missing the `Space` character. So my test program get the string by reading a txt file).

      Attachments

        1. arabic-bad.txt
          0.2 kB
        2. arabic-bug.png
          arabic-bug.png
          46 kB
        3. arabic-ok.png
          arabic-ok.png
          46 kB
        4. arabic-ok.txt
          0.2 kB
        5. qt-5.7.0.png
          qt-5.7.0.png
          46 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes