feat: update emojis to Unicode 16.0 (#6155)

This commit is contained in:
nerix
2025-04-20 13:31:23 +02:00
committed by GitHub
parent a4eb50db5e
commit 14aa4d1400
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -10,6 +10,7 @@
- Minor: Allow for themes to set transparent values for window background on Linux. (#6137) - Minor: Allow for themes to set transparent values for window background on Linux. (#6137)
- Minor: Popup overlay now only draws an outline when being interacted with. (#6140) - Minor: Popup overlay now only draws an outline when being interacted with. (#6140)
- Minor: Made filters searchable in the Settings dialog search bar. (#5890) - Minor: Made filters searchable in the Settings dialog search bar. (#5890)
- Minor: Updated emojis to Unicode 16.0. (#6155)
- Minor: Allow disabling of double-click tab renaming through setting. (#6163) - Minor: Allow disabling of double-click tab renaming through setting. (#6163)
- Bugfix: Don't create native messaging manifest file if browser directory doesn't exist. (#6116) - Bugfix: Don't create native messaging manifest file if browser directory doesn't exist. (#6116)
- Bugfix: Fixed scrolling now working on inputs in the settings. (#6128) - Bugfix: Fixed scrolling now working on inputs in the settings. (#6128)
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -275,15 +275,15 @@ void Emojis::loadEmojiSet()
}; };
// clang-format on // clang-format on
// As of emoji-data v15.1.1, google is the only source missing no images. // Both Twitter/Twemoji and Google have all images
if (!emoji->capabilities.has(setCapability)) if (!emoji->capabilities.has(setCapability))
{ {
emojiSetToUse = QStringLiteral("Google"); emojiSetToUse = QStringLiteral("Twitter");
} }
QString code = emoji->unifiedCode.toLower(); QString code = emoji->unifiedCode.toLower();
QString urlPrefix = QString urlPrefix =
"https://pajbot.com/static/emoji-v2/img/google/64/"; "https://pajbot.com/static/emoji-v2/img/twitter/64/";
auto it = emojiSets.find(emojiSetToUse); auto it = emojiSets.find(emojiSetToUse);
if (it != emojiSets.end()) if (it != emojiSets.end())
{ {