Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support emojis #436

Closed
micheljung opened this issue Dec 2, 2016 · 6 comments · Fixed by #2430
Closed

Support emojis #436

micheljung opened this issue Dec 2, 2016 · 6 comments · Fixed by #2430
Milestone

Comments

@micheljung
Copy link
Member

micheljung commented Dec 2, 2016


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@micheljung micheljung changed the title Support emoticons Support emojis Dec 2, 2016
@1-alex98 1-alex98 self-assigned this Jan 16, 2017
@1-alex98
Copy link
Member

1-alex98 commented Feb 9, 2017

Apprently there seems to be no emoji keyboard supporting libary for java fx, only plain emoji libaries. Seems to be difficult....

@micheljung
Copy link
Member Author

micheljung commented Feb 17, 2017

I hoped that we somehow can "merge" two fonts; A standard font for text and a emoji font. This would give us super easy emoji support. But from my researches, it looks like it's not going to be so easy. OpenSansEmoji would be such a font, however it's all monochrome.

Best solutions I found so far is https://github.com/UltimateZero/EmojiOneJava but since we're going to display it in a webview, we'd need an additional JS library.

@Geosearchef
Copy link
Member

Is the client currently using a default font from the system or loading a custom font from a file? If it's a custom font, maybe we could manipulate the font file.

@micheljung
Copy link
Member Author

It's using a custom font, OpenSans. I think the problem is that the operating systems (or JavaFX, or both) doesn't support fonts with colors.
OSX and Android solved this problem by extending TTFs so that they allow PNGs. Then Microsoft came along and introduced a new way to add color to fonts. Have to do more research whether or not we could use that.

@micheljung
Copy link
Member Author

micheljung commented Feb 17, 2017

@1-alex98 1-alex98 removed their assignment May 20, 2017
@1-alex98
Copy link
Member

What if we move the text input into the WebView, then u could use something like twitter emoji( https://github.com/twitter/twemoji ) libary(or whatever ) for Websites and so u needn't care about a solution for the client itself no?

@Sheikah45 Sheikah45 added this to the 2021.12.0 milestone Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants