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

The emoji in TextInput is gray #5171

Open
Dovelong0713 opened this issue May 3, 2024 · 3 comments
Open

The emoji in TextInput is gray #5171

Dovelong0713 opened this issue May 3, 2024 · 3 comments

Comments

@Dovelong0713
Copy link

How TextInput supports emoji colors

@tronical
Copy link
Member

tronical commented May 3, 2024

Hi! Which platform are you on?

@Dovelong0713
Copy link
Author

Dovelong0713 commented May 3, 2024

I am Windows 10,
Your question makes me feel that TextInput already supports emoji colors, but my environment is causing an exception. Is that correct?

@tronical
Copy link
Member

tronical commented May 5, 2024

Yes that's right. I think I recall seeing this before on Linux but there the issue was that the font didn't provide any color glyphs.

Perhaps there's a bug in the way we select fonts and we end up picking the wrong one.

I wonder if this is reproducible with cargo-ui.

As a workaround, could you try enabling the renderer-skia feature and set the SLINT_BACKEND environment to variable to winit-skia?

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

No branches or pull requests

2 participants