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

Emoji rendering broken on Android 15

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.7.3, 6.8.1
    • None
    • Android

    Description

      In Android 15, all emoji have become invisible, only national flag emoji still show. On older Android version my QML app works fine.

      I download the Google Noto Color Emoji font using this:
      https://doc.qt.io/qt-6/android-emojis.html

      On older Android versions (9 - 14) this always worked fine.

      I think the issue is caused by this change in Android 15:
      https://developer.android.com/about/versions/15/behavior-changes-all#png-emoji-font

      The PNG emoji are removed, except for the national flags.

      I can get it to work again if I bundle the windows compatible ttf file with my app and add this in my QML:
      FontLoader {
      source: "qrc:/fonts/NotoColorEmoji_WindowsCompatible.ttf"
      }
      It does not work if I bundle the font using C++ code like this:
      QFontDatabase::addApplicationFont(QStringLiteral(":/fonts/NotoColorEmoji_WindowsCompatible.ttf"));
      Looks suspicious to me that this does not work, as it works for other font files.

      I do not like to bundle this large font file with my app

      Attachments

        Issue Links

          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
              michel_de_boer Michel de Boer
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes