Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Only some Emojis appear when using ttf-emojione package in Arch Linux #41

Open
doron-cohen opened this issue Feb 13, 2019 · 5 comments
Open

Comments

@doron-cohen
Copy link

I haven't go to the reason why but only some of the emojis are displayed right on my Linux machine. This is both on my browser and in terminal. How can I debug this? I saw @maximbaz is the maintainer of this and understood that this is the right place for this issue.

Screenshot of browser

@maximbaz
Copy link
Contributor

AUR page is the right place to ask questions for Arch Linux package 😉

Have you run this command as per the pinned comment?

ln -sf ../conf.avail/75-emojione.conf /etc/fonts/conf.d/75-emojione.conf

@doron-cohen
Copy link
Author

Thanks! That worked perfectly. I will just note that it will default to view numbers as emojis when viewing websites with no configured font e.g. github.

@maximbaz
Copy link
Contributor

Yep, but that's the issue of those websites, not the font, if you are interested I can point you to an example of the implementation that does it correctly.

@doron-cohen
Copy link
Author

Interested. Although I solved it by defining a default font in my browser

@maximbaz
Copy link
Contributor

The trick is to define an emoji font, but only allow it to render a specific set of codepoints, those that are defined as Emoji as per Unicode standard. This way it's guaranteed that emojis are rendered with the emoji font, and everything else is rendered as text.

For example, here's how I made it for Wire app.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants