Comments (8)
Is the information somewhere in emoji.json in the repository?
That is taken directly from gemoji source, but I don't see these things there.
from emojis.
It doesn't seem to be in the emoji.json
in this repository, but it is in the emoji.json
in the gemoji repository: https://github.com/github/gemoji/blob/master/db/emoji.json. See that some of them have the field "skin_tones": true
.
Edit: It seems that the Makefile will throw out all fields from gemoji's emoji.json
except for emoji
and alias
, which is why it's not showing up in this repository.
from emojis.
It's a bit unclear how to get a list of all emoji from gemoji's library, as a simple boolean flag stating that it ‘accepts skin tones’ doesn't actually tell you in what position it accepts skin tones or how many. As far as I know, only the unicode spec is definitive.
https://unicode.org/Public/emoji/14.0/emoji-sequences.txt
https://unicode.org/Public/emoji/14.0/emoji-zwj-sequences.txt
from emojis.
The main use I make of this library is to support pandoc's handling of GitHub emoji aliases, so if there aren't aliases for the skin tone variants, it may be out of scope.
from emojis.
The reason I'm interested is that we're looking for a library code to properly calculate the widths of text in monospace font, including wide characters, combining characters, and emoji. If it's out of scope for this library, perhaps that functionality can be broken out into a separate library.
from emojis.
I'm open to extending the functionality of this library. That seems better than yet another emoji library.
from emojis.
Perhaps we could generate data from the unicode emoji tables, and use gemoji's emoji.json just for the GitHub aliases.
from emojis.
That sounds like a good idea.
from emojis.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emojis.