-
Notifications
You must be signed in to change notification settings - Fork 17
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
Flag icons are broken #14
Comments
@MyriaCore Any ideas where to look for a cause of this bug? |
Sorry for late reply. I'll start digging around |
No worries! And thanks for looking! |
After merging I did some minor refactoring, but I also tested tested with the version from your branch and I saw the same issue there. |
Indeed. |
Aah.. I had So I guess it's not a bug then. I'm going to close it |
Or you think it is a bug and the flags should be there with noto? |
Yeah, I think so. I don't think these flags are new, so it's probably not an emoji 13 thing, right? AFAIK noto and blob should support full emoji 11 (or maybe 12). |
I think I agree. |
This is the unicode.org listing for the lithuania flag. The listed codepoint is Here's the function where we generate the URL to get the image: ulauncher-emoji/EmojiSpider.py Lines 68 to 94 in d56b2c8
|
ah.. I see |
$ python -c 'print("🇱🇹".encode("unicode-escape"))'
b'\\U0001f1f1\\U0001f1f9' So the codepoint seems correct. Maybe there's some schema that noto and blob is using that I didn't properly enforce. |
After looking at the makefile for the blobmoji project, I've determined that the schema for the flags is actually :
... where |
Also in the readme for blobmoji:
This explains why the flags are so detailed, and why they don't appear to have other non-country flags (like the trans flag or the pirate flag) |
There's a similar passage in the readme for noto emoji. This is kinda worrying. @gornostal the way I see it, we have 3 options:
|
Wait NVM, I'm super wrong I think. I think that the flags are turned into emojis, since there's an |
It looks like the make the name for the flag emojis here. The names are reformatted in 04x hex. Not sure why the normal URL of just:
doesn't work then. |
I think it's fine because there's a fallback theme. If it's set correctly the issue is gone. |
Although flag emojies are copied correctly to the clipboard
The issue occurs with
noto
andblobs
theme👉 Workaround: Select a fallback theme different from
noto
andblobs
The text was updated successfully, but these errors were encountered: