Skip to content

bonfire-xmpp/emoji

Repository files navigation

Emoji

Summary

This repository processes the gemoji emoji.json file and generates a 64x64 (per emoji) image atlas using Twemoji bitmaps.

It also generates its own, processed emoji.json file, of the format:

{
  "emojis": [
    {
      "emoji": "😀",
      "aliases": ["grinning"],
      "name": "grinning",
      "category": "Smileys & Emotion",
      "offset": [0, 0]
    },
    ...
  ],
  "byname": { "grinning": 0, ... },
  "byemoji": { "😀": 0, ... },
  "atlasWidth": 2064,
  "atlasHeight": 2016,
  "emojiSize": 48
}

The offset fields is the (x, y) offset from the top left of the image atlas.

Credit:

This makes use of code from the following projects:

Releases

No releases published

Packages