-
-
Notifications
You must be signed in to change notification settings - Fork 227
Cannot get emoji fonts to render with Stylix #1000
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
Comments
I was able to reproduce the blank spaces in alacritty (alacritty/alacritty#153) but ghostty showed the single emoji I tested. As a workaround you could try kitty, which is well known for its emoji support |
We merely propagate the fonts as follows:
Maybe this is an application problem, similar to #814? |
I don't think so; emojis are invisible on LibreOffice Writer too. I also tried Kitty like @donovanglover suggested but had no luck. I'm not saying its surely Stylix causing it, but it does seem to be a system issue and not application-specific. |
@trueNAHO, after some testing I've discovered this only seems to happen if I also add the It should be noted when the issue manifests, it doesn't affect all emojis, but it does affect the majority of them. That is, if you test with only one emoji, there is a chance you get a false negative. |
Sounds like a font priorities issue. Shouldn't be stylix related. Try changing the fallback order and/or use logging from affected programs to find the offending font(s) |
@donovanglover I didn't configure any font fallback priorities; all I did was install some fonts to the system. In the absence of my own configuration overriding these settings, it seems quite confusing that Stylix would accept configuration options for these fonts and then not ensure their priority is set correctly. |
As previously mentioned, Stylix currently merely propagates the fonts without much further processing. As donovanglover mentioned, this might be a general font issue that may be out of the scope of Stylix. For example, you might be able to further debug this with something like: fc-match emoji |
Sorry if I was rude or entitled, I'm just a bit confused. Running
I think what is confusing me is that I don't understand how font priority is set; as I mentioned, the settings exposed made me assume that priority would be managed. I'd be happy to open a PR to clarify the documentation once I understand things better! |
No worries.
If this is not a Stylix issue, the best the documentation could do is something like:
Adding such a notice is probably more harmful and confusing than anything else. I am just blindly going to assume that this is an issue with individual applications, which is clearly out of the scope of Stylix. Sorry if I sounded rude or harsh this time :) |
I am not saying the issue is caused by Stylix, but if the issue is caused by individual applications, then why would it occur for multiple different apps (Ghostty, Alacritty, LibreOffice Writer) in the same way when the package is added? |
Uh oh!
There was an error while loading. Please reload this page.
Thank you for your work on Stylix! I've been enjoying a pretty NixOS for a couple of weeks now and its wonderful!
I'm running Stylix in a flake-based NixOS system; no matter what I try, I can't get Emojis to properly render: instead of seeing a character, I see a blank space (not tofu). Some emojis do render though.
For some applications (e.g. Discord and Firefox) they reliably show all the time. But for my terminals (Ghostty and Alacritty) I have not been able to get them to work correctly.
The only thing that fixes it is disabling Stylix all together. My configuration:
Possibly related:
The text was updated successfully, but these errors were encountered: