Open maximbaz opened 5 years ago
Unfortunately I don't know what it takes to make such fonts work - it might be the case that libXft cannot handle them and we need a different font rendering library for that.
The error seems to indicate that the problem is not the colors but the complexity of the font.
Perhaps related: https://gitlab.freedesktop.org/xorg/lib/libxft/issues/6
When using pango-view
with --backend=ft2
the test emoji isn't rendered in color (but pango-view
doesn't crash. With --backend=cairo
the emoji renders as expected. I'm not sure that using cairo instead of xft would be an option for the unlock prompt, but that would be a potential work around.
installing fonts-symbola solved an similar issue for me
Symbola is not colorful though 🙂
I am experiencing this issue myself, but it's much worse.
I try to use the emoji prompt as well, by running this command:
XSECURELOCK_FONT='Noto Color Emoji' XSECURELOCK_PASSWORD_PROMPT=emoji xsecurelock
Unfortunately, when I get to the lockscreen, there is no prompt, just a blank screen. I tried moving my mouse, or just entering the password anyways, but nothing worked to exit the application. I had to resort to doing a hard reboot.
Is anything being done with this top priority issue?
Hey,
I was really excited to see the new
XSECURELOCK_PASSWORD_PROMPT=emoji
, but I'm not able to make it work with colorful emoji fonts like JoyPixels (former EmojiOne) or Google Noto Color Emoji.The README says:
I have JoyPixels font installed system-wide in
/usr/share/fonts/TTF/JoyPixels.ttf
. Tried both commands, only one of them finds the font:I have tried several ways to enable the font:
Am I missing something? Are you able to use colorful emojis? Is it even possible to specify multiple fonts, for text and for emojis?
Can I provide more information for debug purposes?
If you want to try, you can grab
JoyPixels.ttf
here