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

Color Emoji on Android drawn with an offset

    XMLWordPrintable

Details

    • Android

    Description

      When using color emoji on Android in an QML app, the colored characters are drawn with an offset. To demonstrate, here is a minimal QML example:

       

      import QtQuick 2.12
      import QtQuick.Window 2.12
      import QtQuick.Controls 2.12
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          Label {
              anchors.centerIn: parent
              text: "Emoji: ���"
          }
      }
      
      

      When running this on e.g. Fedora Linux (my development host), everything is drawn correctly:

       

      However, when I run the same code on Android, I get this:

       

      I can reproduce this on both my Pixel 3 as well as a Samsung Galaxy Tab S2. The issue happens with both the low level Text component as well as e.g. the Label one from QQC2.

       

      Attachments

        1. Screenshot_20190930_174157.png
          16 kB
          Martin Höher
        2. Screenshot_20190930-172318.png
          33 kB
          Martin Höher
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mhoeher Martin Höher
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes