-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support for non-Latin languages #1454
Comments
I disagree, as I routinely write Arabic text in other applications (libreoffice, kate, etc.) and I don't have any font issues. |
@koutheir Check this out! pop-os/libcosmic#12 Please try out Arabic in the text example and help locate bugs in the rendering. |
I think Iced isn't implementing fallback font behavior, which is normally used to find a font for a different writing system. So that's why it doesn't find a font with the right gylphs. Luckily this (as well as text shaping and RTL) is being prototyped in libcosmic as mentioned, and hopefully will be integrated into Iced soon. |
Running the following command panics: $ cargo run --package cosmic
<...>
Running `target/debug/cosmic`
icon 'go-previous-symbolic' size 24 not found
icon 'window-minimize-symbolic' size 16 not found
icon 'window-maximize-symbolic' size 16 not found
icon 'window-close-symbolic' size 16 not found
icon 'network-wireless' size 20 not found
icon 'preferences-desktop' size 20 not found
icon 'system-software-update' size 20 not found
thread 'main' panicked at 'Downcast on stateless state', /home/koutheir/.cargo/git/checkouts/iced-14fbad96f5d3e3c7/7461b82/native/src/widget/tree.rs:172:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Running the following command works: $ cargo run --package text The Arabic letters are rendered correctly, and selecting them with the mouse and moving between the characters works as I expect. However, using the |
same profblem, any update? |
@lost22git yep! See the advanced-text branch. https://github.com/iced-rs/iced/tree/advanced-text |
Is there an existing issue for this?
Is this issue related to iced?
What happened?
Running the
tour
package, and typing Arabic text on theText input
page, displays squared interrogation point characters.What is the expected behavior?
Arabic text should be displayed correctly.
Version
master
Operative System
Linux
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: