Emojis not rendering in Link Preview

Describe the bug

Emojis in the link preview Title and Description are not getting rendered properly

To Reproduce

Steps to reproduce the behavior:

    1. Go to any page
    1. Create a bookmark
    1. Use the following link for bookmark which has an emoji in it’s title

https://github.com/rafaelmardojai/firefox-gnome-theme

Expected behavior

Emojis in the Link Previews title and description should render properly

System Information:

  • OS: Fedora 34
  • Anytype Version: 0.20.9

Additional context

Preview from Anytype

Actual Preview

Hello, this is somehow connected to your operating system since emoji in bookmarks are rendered by webkit inside electron. We do not see any problems on MacOS and Ubuntu.

I’ve found this article by casually googling this problem on Fedora, maybe it would help:

https://fedoramagazine.org/how-to-get-emoji-to-display-on-fedora/

1 Like

@R2D2 Thanks for the help, the issue is fixed after installing the emoji fonts. I did not notice this before since most of my apps are flatpaks and they render the emojis properly due to the fonts shipping with them.

Here is a much more updated link with instructions to fix emojis in Fedora:

https://hamptonmoore.com/posts/fedora-32-colored-emojis/

Thanks for the help, Much appreciated :grinning_face_with_smiling_eyes: