Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Emoji not rendered on Android 15
Forum Updated to NodeBB v4.3 + New Features

Emoji not rendered on Android 15

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 1 Posters 564 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michel de Boer
    wrote on last edited by
    #1

    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

    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.

    Is this a bug in Qt?
    Is Android 15 emoji font rendering not supported yet?

    Any help would be much appreciated.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Michel de Boer
      wrote on last edited by
      #2

      Opened https://bugreports.qt.io/browse/QTBUG-132481 for this issue

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Michel de Boer
        wrote on last edited by
        #3

        Partially fixed in Qt6.8.2
        Emoji are rendered fine now. However rendering of country flags is now broken. Flags are rendered in a very tiny format.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Michel de Boer
          wrote on last edited by
          #4

          Seems the flag issue was caused by a Magisk module replacing sytem emoji by iOS emoji. Without that module flags are fine.

          1 Reply Last reply
          0
          • M Michel de Boer has marked this topic as solved on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved