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

Emojis not displayed even though I installed ttf-joypixels on my Arch Linux as described in #73 #7713

Closed
JackySu opened this issue Aug 11, 2024 · 3 comments
Labels

Comments

@JackySu
Copy link

JackySu commented Aug 11, 2024

Describe the bug
emojis like 📦 not displayed

To Reproduce
Steps to reproduce the behavior:

  1. copy 📦 to Kitty
  2. it doesn't display
  3. run kitty --debug-font-fallback sh -c "printf '\U0001F4E6'; read"
  4. also doesn't display

Screenshots
image
As you see normal unicode characters are ok, but not for emoji

Environment details

kitty 0.35.2 created by Kovid Goyal
Linux arch 6.10.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000 x86_64
Arch Linux 6.10.3-arch1-2 (/dev/tty)

Running under: Wayland (Hyprland v0.41.2,) missing: single_pixel_buffer
OpenGL: '3.1.0 NVIDIA 555.58.02' Detected version: 3.1
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /usr/bin/fish
Loaded config files:
  /home/iulx0/.config/kitty/kitty.conf

Config options different from defaults:
background_opacity      0.5
confirm_os_window_close 0
enable_audio_bell       False
font_family             Fira Code SemiBold
font_size               12.0
selection_background    None
selection_foreground    None
window_padding_width    FloatEdges(left=4.0, top=4.0, right=4.0, bottom=4.0)
Colors:
	cursor                  #dddddd   

Important environment variables seen by the kitty process:
	PATH                                /home/iulx0/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
	LANG                                en_US.UTF-8
	SHELL                               /usr/bin/fish
	DISPLAY                             :1
	WAYLAND_DISPLAY                     wayland-1
	USER                                iulx0
	XDG_SESSION_PATH                    /org/freedesktop/DisplayManager/Session1
	XDG_BACKEND                         wayland
	XDG_SEAT                            seat0
	XDG_SESSION_DESKTOP                 Hyprland
	XDG_SESSION_TYPE                    wayland
	XDG_CURRENT_DESKTOP                 Hyprland
	XDG_SEAT_PATH                       /org/freedesktop/DisplayManager/Seat0
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            1
	XDG_SESSION_ID                      2
	XDG_RUNTIME_DIR                     /run/user/1000

Additional context
Try to reproduce the problem with kitty --config NONE if you cannot then post a minimal kitty.conf that reproduces the problem. If the problem involves interaction with some other terminal program post a minimal config for that program to reproduce the problem as well.

I tried to install https://archlinux.org/packages/extra/any/ttf-joypixels/ like described in #73 but yet to work

@JackySu JackySu added the bug label Aug 11, 2024
@kovidgoyal
Copy link
Owner

You didnt actually post the output from running --debug-font-fallback but I am going to guess this is because you have some COLRv1 based font on your system, fix that and you will be fine.

dup of #7140

@JackySu
Copy link
Author

JackySu commented Aug 11, 2024

You didnt actually post the output from running --debug-font-fallback but I am going to guess this is because you have some COLRv1 based font on your system, fix that and you will be fine.

dup of #7140

Thanks for the quick reply! Sorry for my not being careful enough, COLRv0 based font fixed my issue.

@JackySu
Copy link
Author

JackySu commented Aug 16, 2024

For anyone interested in the solution, hope this helps:

  1. it is my COLRv1 (segoe I remember) in /usr/local/share/fonts had conflicts with my global fonts, I kind of think its better to make sure fonts are installed globally in /usr/share/fonts/ and simply delete conflicting local fonts solved it
  2. if everything fails for you, turn to this https://www.reddit.com/r/archlinux/comments/o1n6fd/tip_for_anyone_struggling_to_get_emojis_to/
    this 100% works for everyone

and thank again for kovid to help me out!

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

No branches or pull requests

2 participants