summaryrefslogtreecommitdiff
path: root/gtk/emoji/README.md
blob: 547c9165a5d27668e83397715bbfa4d085730131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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