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

Emoji in preview text? #12

Open
vatosarmat opened this issue Jan 19, 2021 · 1 comment · May be fixed by #16
Open

Emoji in preview text? #12

vatosarmat opened this issue Jan 19, 2021 · 1 comment · May be fixed by #16
Labels
font support support for more fonts (formats) help wanted Extra attention is needed

Comments

@vatosarmat
Copy link

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

@xlucn xlucn added the help wanted Extra attention is needed label Jan 19, 2021
@xlucn
Copy link
Owner

xlucn commented Jan 19, 2021

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 xlucn added the font support support for more fonts (formats) label Mar 12, 2021
@xlucn xlucn linked a pull request Oct 20, 2021 that will close this issue
@xlucn xlucn linked a pull request Oct 20, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
font support support for more fonts (formats) help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants