-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
[Feature] Xft emoji support #898
Comments
Does someone know a workaround to for example have wttr weather emojis like sun, clouds or the only way is to wait for proper support? |
You could try serving the image from |
I got it working with these lines: |
Maybe set up a hourly cron or something like that to reload conky as a workaround.
|
I created this bash script that kill conky(as stated in conky man) then runs all my conky configs, but it's doing it only one time. Then conky keeps running. #FIRST SCRIPT #SECOND SCRIPT |
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days. |
Under Wayland, where we use Pango instead of Xft for text rendering, emoji are fully supported. |
Lemonbar didn't have emoji support with xft, then someone made a fork and this commit introduced support for emojis. (EDIT: while the referenced commit did add (partial?) support for emoji, it only actually shows how to handle variable length utf8 sequences, see my later comment for more info) The commit in question basically upgrades character storage from Lemonbar is a good example because it's got a small codebase that basically covers this issue. |
Not sure if I'm understanding this right; are you saying emoji should work as expected running under wayland? |
Then you're running under XWayland or using a wrong/bad/unsupported font. Pango supports emoji fonts in Google format (at least). FreeType (used by Pango) doesn't support Apple's color emoji standard. So if you're having issues with this on Wayland you're likely doing something wrong. Xft does require additional support to draw emoji properly (source: arch wiki), and it's a non-trivial fix which is why a lot of X11 apps (that use X11 directly) don't support them. Conky likely should, but implementing it takes time. Come to think of it... this isn't a "good first issue". |
Please, consider to add more emoji support in conky.
If you want make a simple thing : displaying the country image before the user WAN ip adress, actually you can't.
In some case, emoji can replace text for a better grasp.
Thanks.
The text was updated successfully, but these errors were encountered: