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 4.0/5.0 support? #25

Closed
orsonteodoro opened this issue Jan 8, 2018 · 14 comments
Closed

Emoji 4.0/5.0 support? #25

orsonteodoro opened this issue Jan 8, 2018 · 14 comments

Comments

@orsonteodoro
Copy link

I am using 2.3.0 and I cannot find any emojis in Emoji 4.0 (https://emojipedia.org/emoji-4.0/) and Emoji 5.0 (https://emojipedia.org/emoji-5.0/). I can find the technologist, the ufo, sauropod.

@OzymandiasTheGreat
Copy link
Owner

Emoji support is fully dependent on emoji support in the selected set and emoji.json database I take from emojitwo project. If there are no images for the emoji in the set there's nothing to display, so until the sets are updated to support latest emoji emoji-keyboard won't support them as well.

@ffxsam
Copy link

ffxsam commented Apr 19, 2018

@OzymandiasTheGreat Why EmojiTwo instead of EmojiOne? I realize it's now a licensed product, but it should be free for your purposes: https://www.emojione.com/licenses

And it's kept up to date, unlike EmojiTwo.

@OzymandiasTheGreat
Copy link
Owner

I'm not touching anything that's not open source, that's why.

@ffxsam
Copy link

ffxsam commented Apr 21, 2018

Actually, I just learned that Ubuntu 18.04 will have an updated, complete set of emoji built into the system. Will emoji-keyboard be able to tap into this?

@OzymandiasTheGreat
Copy link
Owner

That's the first time I'm hearing this. Tapping into that would be lovely and simple I hope.
Mind dropping a link so I could look into this further?

@ffxsam
Copy link

ffxsam commented Apr 21, 2018

So, technically you can use the Characters application to copy/paste emoji, but it's not nearly as elegant as emoji-keyboard.

@OzymandiasTheGreat
Copy link
Owner

Oh, I forgot about those articles. According to them, Ubuntu will use Noto emoji set. That's already an option with emoji keyboard.
Alas, not all emoji may be available for now, because the data file I use comes from emojitwo.
Only emojitwo provides a data (json) file with all required info, and compiling my own is more work than I'm willing to do.

@OzymandiasTheGreat
Copy link
Owner

I don't think ubuntu will have a repository of emoji data, just the font and latest gnome version that can actually display the font. So tapping into that is not an option.

@ffxsam
Copy link

ffxsam commented Apr 21, 2018

Ahh, bummer. It was worth a shot!

@gadicc
Copy link

gadicc commented Jan 26, 2019

Does this help? emoji.json on npm.

MIT licensed, just converts all the data from the Unicode emoji list to JSON. Currently at Emoji 11.0 :D

var emoji = require('emoji.json')
console.log(emoji[2])
// {
//   no: 3,
//   codes: '1F602',
//   char: '😂',
//   name: 'face with tears of joy',
//   keywords: 'face | face with tears of joy | joy | laugh | tear'
// }

@gadicc
Copy link

gadicc commented Jan 26, 2019

Oh, it maybe doesn't have the short names you're looking for (e.g. :joy:). To compare:

In EmojiTwo:

{
	"code_points": {
		"base": "1f602",
		"non_fully_qualified": "1f602",
		"decimal": "😂"
	},
	"name": "face with tears of joy",
	"shortname": ":joy:",
	"category": "people",
	"emoji_order": "3",
	"shortname_alternates": [],
	"ascii": [":')", ":'-)"],
	"keywords": ["happy", "silly", "smiley", "cry", "laugh", "emotion", "sarcastic"]
}

I found another alternative though, emoji-data (also MIT licensed), which has an emoji.json (and emoji-pretty.json) with entries like this:

{
        "name": "FACE WITH TEARS OF JOY",
        "unified": "1F602",
        "non_qualified": null,
        "docomo": "E72A",
        "au": "EB64",
        "softbank": "E412",
        "google": "FE334",
        "image": "1f602.png",
        "sheet_x": 30,
        "sheet_y": 26,
        "short_name": "joy",
        "short_names": [
            "joy"
        ],
        "text": null,
        "texts": null,
        "category": "Smileys & People",
        "sort_order": 3,
        "added_in": "6.0",
        "has_img_apple": true,
        "has_img_google": true,
        "has_img_twitter": true,
        "has_img_facebook": true,
        "has_img_messenger": true
}

Unclear what Unicode Emoji version it's at, but definitely later than the current.

@OzymandiasTheGreat
Copy link
Owner

New version out, includes ALL the emoji! In case there's an image missing in your selected set, it will be displayed as black and white symbol from the system font.
I'm finally closing this.

@gadicc
Copy link

gadicc commented Feb 15, 2020

Ahhh amazing newsssss... thanks @OzymandiasTheGreat!! :D :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants