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

Shavian text and other 4-byte utf8 fonts corrupts on display after several characters.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.7.0
    • Fix Version/s: 5.2.0
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Environment:

      Description

      Shavian text is displayed unreliably after several non-identical characters.

      The attached files demonstrate corruption as witnessed between Arora browser and Firefox of a page using 4-byte UTF8 Shavian (Shaw) English characters.

      Text typed directly into a QLineEdit (or any text input location) is also affected.

      If the same shavian character is entered repeatedly into an entry, the corruption of the text as displayed does not appear to occur.

      Once the text is corrupted by using various Shavian characters, I could produce a stream of latin "u" characters by holding down my shavian-a key, then the latin "l" (lowercase L) by holding down my shavian-r key. Typing random characters after this restored a sane stream of characters eventually, but only briefly.

      (If needed, Shavian fonts can be found at http://marnanel.org/shavian/fonts/ - I used Androcles and Andagii in my testing.)

      Upd. Similar problem appears not only with Shavian fonts, but with any font from the 4-byte range. I have a problem with mathematical (bold, itallic, etc.) fonts. D. Vlasov.

        Attachments

        1. fontcompare-qt-gtk-androcles-europa.png
          fontcompare-qt-gtk-androcles-europa.png
          20 kB
        2. main.cpp
          0.4 kB
        3. shavian.txt
          0.6 kB
        4. test.png
          test.png
          204 kB
        5. test2.png
          test2.png
          205 kB
        6. test3.png
          test3.png
          98 kB
        7. test4.png
          test4.png
          23 kB

          Issue Links

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

            Activity

              People

              Assignee:
              ritt.ks Konstantin Ritt
              Reporter:
              doneill d francis o'neill
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes