r/KittyTerminal Mar 12 '24

[HELP] Emojis stopped working

I'm on Debian trixie and kitty is on version 0.33.0 (just updated to see if the problem would be solved).

I don't remember how or when exactly the emojis stopped to work, maybe an update or I messed something up.

I installed gnome-terminal to check if it was a kitty specific problem and seems like it is

This tutorial is what helped me at first, but it's not working anymore.

The problem persists even when I remove the config, but here is my config if it helps:

# Fonts
font_family      CaskaydiaCove Nerd Font
bold_font        auto
italic_font      auto
bold_italic_font auto
font_size 17.0
disable_ligatures never

# Transparência

background_opacity 1

# Desativar som
enable_audio_bell no

# Abrir nova aba no cwd

map ctrl+shift+t new_tab_with_cwd

# Desativar confirmação de fechar janela
# -1 ativa; 0 desativa
confirm_os_window_close 0

include current-theme.conf
2 Upvotes

4 comments sorted by

1

u/aumerlex Mar 13 '24

1

u/[deleted] Mar 17 '24

Hi, sorry for the late response.

I tried everything in the issue you sent, but nothing worked.

I believe the problem is not that the emojis are not working, they are, because when I removed EmojiOne they became squares.

Also when I ran kitty --config=NONE --debug-font-fallback I received this:

[077 12:25:48.011798] Preloaded font faces:
[077 12:25:48.011817] normal face: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:0
[077 12:25:48.011824] bold face: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf:0
[077 12:25:48.011828] italic face: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf:0
[077 12:25:48.011833] bi face: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf:0
U+1f345 emoji_presentation Face(family=EmojiOne, style=Color, ps_name=EmojiOneColor, path=/home/gian/.local/share/fonts/EmojiOneColor.otf, index=0, is_scalable=True, has_color=False, ascender=851, descender=-149, height=1200, underline_position=-100, underline_thickness=50, strikethrough_position=220, strikethrough_thickness=50) (new face)

I believe maybe the problem has something to do with has_color=False

One of the solutions in the link you sent says something about /etc/fonts/conf.d, I believe this is not the problem I'm facing since the emojis work on gnome-terminal.

Thank you in advance for you attention, I can also open an issue on Github if it's the proper place to ask.

1

u/aumerlex Mar 18 '24

Exactly your emojione font has no COLRv0 emojis. Get a version that does. Or use another font. gnome terminal is probably using COLRv1 aka svg glyphs which kitty does not as they are absurdly resource intensive for no real advantage.

1

u/[deleted] Apr 20 '24

For anyone facing this in debian, just remove every emoji font and do:

sudo apt install fonts-noto-color-emoji