iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
24.34k stars 1.13k forks source link

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

Open unlessgames opened 6 months ago

unlessgames commented 6 months ago

Is there an existing issue for this?

Is this issue related to iced?

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

7sDream commented 6 months ago

Needs a font supports the character.

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

hecrj commented 6 months ago

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