gtk2/gtk/emoji
2021-05-06 16:04:25 +02:00
..
convert-emoji.c Redo the handling of Emoji data 2021-05-06 15:36:27 +02:00
de.data emoji: Update data to CLRD v39 2021-05-06 16:04:25 +02:00
en.data emoji: Update data to CLRD v39 2021-05-06 16:04:25 +02:00
es.data emoji: Update data to CLRD v39 2021-05-06 16:04:25 +02:00
fr.data emoji: Update data to CLRD v39 2021-05-06 16:04:25 +02:00
gresource.xml.in Redo the handling of Emoji data 2021-05-06 15:36:27 +02:00
README.md Redo the handling of Emoji data 2021-05-06 15:36:27 +02:00
zh.data emoji: Update data to CLRD v39 2021-05-06 16:04:25 +02:00

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