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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.4.2, 5.6.0, 5.7.0
    • Fix Version/s: 5.7.0
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Environment:
      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

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            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