fontpreview-ueberzug icon indicating copy to clipboard operation
fontpreview-ueberzug copied to clipboard

Emoji in preview text?

Open vatosarmat opened this issue 3 years ago • 1 comments

Looks like Unicode notation \Uxxxx and emoji aren't supported. I've tried fontpreview -t 😀 but it didn't work.

vatosarmat avatar Jan 19 '21 02:01 vatosarmat

I also had this. I couldn't make color emoji work after a while of research. For JoyPixels apparently imagemagick is not able to read the font:

$ convert xc:white -font JoyPixels -annotate +0+0 "😀" example.png
convert: unable to read font `/usr/share/fonts/joypixels/JoyPixels.ttf' @ error/annotate.c/RenderFreetype/1505.

However the following command works, but I haven't tried to extend this usage to work with fontpreview-ueberzug. I might look into it later. Suggestions and help to make special font work in the preview script are welcome.

$ convert pango:'Hello! 😀How are you?' example.png

xlucn avatar Jan 19 '21 08:01 xlucn