-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-DependenciesA change to the crates that Bevy depends onA change to the crates that Bevy depends onS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled
Description
- bevy 0.17, and below (0.16...)
What you did
Using bevy_fluent, with a parameter, my UI layout was broken
What went wrong
- I expected text to keep within their node space, its Node size being pushed to be bigger.
Additional information
I realized characters \u{2068} and \u{2069} were injected into the localized string. Filtering those out fixes the issue 🎉.
Still, this is probably a symptom of special characters incorrectly handled somewhere, maybe on taffy side?
- See minimal reproduction: https://github.com/ThierryBerger/bevy_incorrect_layout
- Maybe related to Add a unicode bidi example #15592
Metadata
Metadata
Assignees
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-DependenciesA change to the crates that Bevy depends onA change to the crates that Bevy depends onS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled