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

Arabic/Persian text is trimmed on almost all widgets

XMLWordPrintable

      Almost all texts on QLabel, QCheckBox, QRadiobox and QTabWidget are trimmed in both sides. There must be something wrong with the code that calculates width of text for Arabic chars given a specific font.

      I tried several fonts; same result. I seems that longer the text is, more characters are trimmed.

      Currently I'm adding one or two spaces before and after each title on every widget in my app as a temporary workaround which is very annoying.

      I made a simple example to demonstrate the difference.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            soroush Soroush Rabiei
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes