forked from AuroraMiddleware/gtk
3177a3b42b
This is based on version 6.2.0 of emojibase, containing CLRD 39 http://cldr.unicode.org/index/downloads/cldr-39 https://github.com/milesj/emojibase/blob/b3c9a78/packages/data/CHANGELOG.md |
||
---|---|---|
.. | ||
convert-emoji.c | ||
de.data | ||
en.data | ||
es.data | ||
fr.data | ||
gresource.xml.in | ||
README.md | ||
zh.data |
Emoji data
We use Emoji data from Unicode and the CLDR, stored in a GVariant. The immediate source for our data is the json files from
https://github.com/milesj/emojibase.git
To convert the data from that repository to a GVariant that GTK can use, the convert-emoji tool can be used:
convert-emoji $emojibase/packages/data/de/data.raw.json de.data
for example (for German).
To make these usable by GTK, we wrap them in a resource bundle that has the GVariant as
/org/gtk/libgtk/emoji/de.data
and install the resulting resource bundle at this location:
/usr/share/gtk-4.0/emoji/de.gresource