LukeSmithxyz / st

Luke's fork of the suckless simple terminal (st) with vim bindings and Xresource compatibility.
MIT License
1.62k stars 1k forks source link

Problem showing emojis in st and dmenu #346

Closed iStagnant closed 1 year ago

iStagnant commented 1 year ago

I am having some problems with emojis in both st and dmenu, if i press Mod+~ to show the icon picker some emojis show an empty box next to them image and if i paste theme to st they look like this image as you can see there is <fe0f> at the right side of the emoji and if i remove it half of the emoji is gone, but strangely whether i remove that bit at the end or not if i press enter zsh will return that no command was found but it will always display the emoji correctly, so can this be fixed?

2084x commented 1 year ago

try installing ttf-dejavu to get rid of the boxes

iStagnant commented 1 year ago

try installing ttf-dejavu to get rid of the boxes

Installing ttf-dejavu does indeed remove the boxes and when i paste the emoji to the terminal it still shows the <fe0f> but if i delete it the emoji doesn't get chopped in half anymore, though I'm not sure if this is because of the font or because of the patch in the PR i made, anyways this is good enough for me thank you for your help.