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

Unicode with style of Text.Outline crashes app

XMLWordPrintable

    • Linux/Wayland, Linux/X11

      The following code will crash any Linux system that has proper unicode support:

       

      import QtQuick 2.15
      import QtQuick.Window 2.15
      Window {
          width: 640
          height: 480
          visible: true
          Text {
              id: patLabel
              text: "🏒Mom"
              style: Text.Outline
          }
      }
       

      The problem is the combination of style: Text.Outline with the text being unicode. If unicode support is broken (because sometimes there are fonts that don't support unicode properly), the app doesn't crash but it also doesn't show the unicode.

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

            esabraha Eskil Abrahamsen Blomfeldt
            tshah Tej Shah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes