Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.7.3, 6.8.1
-
None
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
- duplicates
-
QTBUG-130909 Color Emojis don't render at all on Android 15
-
- Closed
-