slint icon indicating copy to clipboard operation
slint copied to clipboard

The emoji in TextInput is gray

Open Dovelong0713 opened this issue 1 year ago • 3 comments

How TextInput supports emoji colors

Dovelong0713 avatar May 03 '24 16:05 Dovelong0713

Hi! Which platform are you on?

tronical avatar May 03 '24 17:05 tronical

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?

Dovelong0713 avatar May 03 '24 17:05 Dovelong0713

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?

tronical avatar May 05 '24 07:05 tronical