Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Had to install CJK fonts separately #334

Open
saif-ellafi opened this issue Oct 20, 2023 · 5 comments
Open

Had to install CJK fonts separately #334

saif-ellafi opened this issue Oct 20, 2023 · 5 comments
Labels
question Issues that are actually just questions

Comments

@saif-ellafi
Copy link

Hi, I was getting missing characters and emojis in Discord from Flathub (OpenSUSE Tumbleweed).

After installing google-noto-sans-cjk-fonts it got fixed.

Just wanted to suggest it fixed or made part of the packagea for a better out of the box experience.

Best regards

@TingPing
Copy link
Member

The package does bundle an emoji font:

{
"name": "twemoji-fonts",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"path": "emoji-font.conf"
},
{
"type": "file",
"path": "Twemoji.ttf"
}
],
"build-commands": [
"mkdir -p /app/share/fonts/",
"cp Twemoji.ttf /app/share/fonts/",
"mkdir -p /app/etc/fonts/",
"cp emoji-font.conf /app/etc/fonts/local.conf",
"fc-cache -fv"
]
},
{

Not sure why it wasn't working for you.

@saif-ellafi
Copy link
Author

saif-ellafi commented Oct 20, 2023

It wasn't all for all emojis, but some Discord servers used emojis on the channel names and those didn't work until I installed the CJK fonts package mentioned above.

image

@ghost
Copy link

ghost commented Nov 6, 2023

my guess, is that as Twemoji is owned by twitter, and we all know the mess that it become since a year ago, twemoji stopped updating the opensource project(the emoji used in twitter itself has the new emojis from spec 15, but they aren't on github) twitter/twemoji#570

@wdym-lmao
Copy link

We're still pushing twemoji updates here

@guihkx
Copy link
Collaborator

guihkx commented Oct 2, 2024

The Twemoji font we bundle with this Discord package is very outdated, and that's likely why you're missing a few glyphs.

However, in my humble opinion, no Flatpak app should be bundling any fonts whatsoever, unless they have a very strong reason to do so.

I'm not sure if other collaborators agree with this, but I personally am in favor of removing the Twemoji TTF from this package completely.

Manually installing emoji fonts from your distro's packages makes much more sense for me, because then it's the user who controls what emoji font he wants, e.g. they might prefer noto-emoji instead of Twemoji...

We're still pushing twemoji updates here

Thank you for that, but it looks like you don't publish the TTFs yet, so it's not very useful for us at this moment. I'll keep an eye on it, though.

@guihkx guihkx added the question Issues that are actually just questions label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issues that are actually just questions
Projects
None yet
Development

No branches or pull requests

4 participants