-
Notifications
You must be signed in to change notification settings - Fork 74
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
The plans for Color Emojis #163
Comments
also, @odknt, i've noticed that in general by the feature-set your fork of |
I have used xst in the past and am interested in improving it, so I may create a PR, though I can't promise. I have rewritten the source code in my fork to use cairo instead of libxft to support color emoji, but it seems to be supported by libxft since 2.3.5. Therefore, I believe that xst can display color emoji with a simple modification. |
After a little checking of the source code, we found that xst already supports color emoji. Also, the font2 specification in config.h was broken and could not be used. |
did you managed to make it work on practice? 🤔 to my knowledge it's not intended to work with colors emojis |
oh, my bad, i found the issue in my test setup - i was using Emoji One font which wasn't working, but another font, Noto Color Emoji worked allright - so i think it may be due to svg-format font or smth like that |
so after setting it like this it actually worked:
and as i was forseeing, indeed alt_font thing fixed the width problem |
it was broken when building xst with -flto=auto, but i finally found a moment to fix that: #164 |
When I forked st, libxft did not support color emoji. So I had to rewrite it by using cairo.
I honestly don't know much about SIXEL support, as I just merged patches created by others. |
@neeasade previously mentioned that in the potential todo list (#82)
what's your current thoughts on merging in https://github.com/odknt/st ?
i just did a quick smoke-testing and it seems to work:
i think together with
font2
which we are already supporting (which would fix fontsize for emojis) - it should be looking alright, without problem with the widthThe text was updated successfully, but these errors were encountered: