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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 4.7.0
    • GUI: Text handling
    • None

    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
          20 kB
          d francis o'neill
        2. main.cpp
          0.4 kB
          Dmitri Vlasov
        3. shavian.txt
          0.6 kB
          d francis o'neill
        4. test.png
          204 kB
          d francis o'neill
        5. test2.png
          205 kB
          d francis o'neill
        6. test3.png
          98 kB
          d francis o'neill
        7. test4.png
          23 kB
          d francis o'neill

        Issue Links

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

          Activity

            People

              ritt.ks Konstantin Ritt
              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