iced icon indicating copy to clipboard operation
iced copied to clipboard

Unicode characters not showing up on the Text Input step in the tour

Open unlessgames opened this issue 3 months ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Is this issue related to iced?

  • [X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?

iced_chars

What is the expected behavior?

Expected to see unicode characters in the output as well. Not familiar with Rust but I assume a different string type should be used in the example?

Version

master

Operating System

Linux

Do you have any log output?

No response

unlessgames avatar Mar 12 '24 00:03 unlessgames

Needs a font supports the character.

See: https://docs.rs/iced/latest/iced/settings/struct.Settings.html#structfield.default_font

7sDream avatar Mar 12 '24 13:03 7sDream

Ah, we need to enable text::Shaping::Advanced for the text there!

hecrj avatar Mar 12 '24 13:03 hecrj