Add emoji support in chats
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
There are two methods possible:
* By emoji's font like [notocolor emoji font](https://github.com/DeeDeeG/noto-color-emoji-font) (system font + additional font). It's OS dependency (Windows, OS will replace by system font, linux can use it -- e.g. Windows 7 with black and white icons instead colors);
* By custom png icons generated from svg and inserted to html (like current xmage's mana icons). Compatible and looks same on any systems.
All emoji codes is unicode and can be stored/received by string. There are [emoji lib](https://github.com/vdurmont/emoji-java) to parse string and convert special aliases to unicode. Like `:grinning:` to code (useful to parse texts before send).
Basic TODO:
* [ ] add emoji font for chat panels (game, global) -- for display unicode emojis (font from resources);
* [ ] convert emoji aliases to unicode before send;
* [ ] convert unicode to html links before show (missing icons must be shown as unicode char);
* [ ] add emoji downloader to symbols (unpack zip from resources and generate png icons, 2300+ files);
* [ ] check emoji works in different OS (with symbols, without symbols):
* [ ] Windows 7, Windows 10;
* [ ] Any Linux;
* [ ] OSX.
Extra TODO:
* [ ] add emoji support for game names in tables list;
* [ ] add emoji picker (popup window for search and select from emojis list);
* [ ] add copy-paste support for chat (copy text from chat with emoji's unicode chars);
* [ ] fix bad html images quality (need anti-aliases images drawing in `TextPane` controls):
* java (bad): 
* IE (bad): 
* Firefox (good): 
P.S. old related tasks: #4688
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.