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

Emoji support 👉😎👉 💩 #1817

Closed
x2bool opened this issue Aug 18, 2018 · 6 comments
Closed

Emoji support 👉😎👉 💩 #1817

x2bool opened this issue Aug 18, 2018 · 6 comments

Comments

@x2bool
Copy link

x2bool commented Aug 18, 2018

Support emoji in text. Without emoji this framework is not Hipster enough.

😂😂😂

@jmacato
Copy link
Member

jmacato commented Aug 18, 2018

We will need a font fallback mechanism for this to work properly or rewrite the unicode text handling somehow, though i'll defer to @Gillibald & @nc4rrillo for that subject :)

@Gillibald
Copy link
Contributor

After we have migrated Direct2D1 to the highest possible version we can work on this.

The hard thing is we have to do character matching on our own because we use a TextRenderer.

Skia can support it with the help of some other libraries like Harfbuzz etc.

You can already use emojis if you use a font that supports it we just don't support character fallbacks. Skia even supports colored fonts.

@prepare
Copy link

prepare commented Sep 25, 2018

Loading Emoji from OpenType font ...

I invite / recommend you to visit this https://github.com/samhocevar/emoji.wpf too.

@Gillibald
Copy link
Contributor

Gillibald commented Sep 26, 2018

Thanks for the link. Seeing how Typography can work in such an environment helps to hopefully get it integrated into Avalonia some time in the future. I would much prefer using Typography for all text processing. We currently don't support visual inlines that are needed for this approach.

@jairbubbles
Copy link

I played a bit with Lunacy recently and the emojis were working nicely:

image

At first I concluded than Avalonia was supporting font Emojis but I then saw that issue. Might be interesting to see how they do it.

There seems to be some restrictions with "joint" emojis:

image

@Takoooooo
Copy link
Contributor

Fixed in #4893.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants