Learning_GTK4_tree/gtk/emoji
Jean Sirmai c07ee22637
initial
2023-12-12 11:36:42 +01:00
..
README.md initial 2023-12-12 11:36:42 +01:00
bn.data initial 2023-12-12 11:36:42 +01:00
convert-emoji.c initial 2023-12-12 11:36:42 +01:00
da.data initial 2023-12-12 11:36:42 +01:00
de.data initial 2023-12-12 11:36:42 +01:00
en.data initial 2023-12-12 11:36:42 +01:00
es.data initial 2023-12-12 11:36:42 +01:00
et.data initial 2023-12-12 11:36:42 +01:00
fi.data initial 2023-12-12 11:36:42 +01:00
fr.data initial 2023-12-12 11:36:42 +01:00
gresource.xml.in initial 2023-12-12 11:36:42 +01:00
hi.data initial 2023-12-12 11:36:42 +01:00
hu.data initial 2023-12-12 11:36:42 +01:00
it.data initial 2023-12-12 11:36:42 +01:00
ja.data initial 2023-12-12 11:36:42 +01:00
ko.data initial 2023-12-12 11:36:42 +01:00
lt.data initial 2023-12-12 11:36:42 +01:00
ms.data initial 2023-12-12 11:36:42 +01:00
nb.data initial 2023-12-12 11:36:42 +01:00
nl.data initial 2023-12-12 11:36:42 +01:00
pl.data initial 2023-12-12 11:36:42 +01:00
pt.data initial 2023-12-12 11:36:42 +01:00
ru.data initial 2023-12-12 11:36:42 +01:00
sv.data initial 2023-12-12 11:36:42 +01:00
th.data initial 2023-12-12 11:36:42 +01:00
uk.data initial 2023-12-12 11:36:42 +01:00
zh.data initial 2023-12-12 11:36:42 +01:00

README.md

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