Unity Issue Tracker - Text gets compressed when using \t with <align=justified> tag
Fixed
UUM-9786
Text gets compressed when using \t with <align=justified> tag
Unity: Text (TextCore)
Fixed
2023.2.X
2023.1.X
2022.3.X
Won't Fix
2022.2.X
2022.1.X
2021.3.X
2021.2.X
When using justified text, we would increase the internal container of the text by 5%, causing the text to go out of bounds in certain cases
Corrected the improper ratio between character spacing and word spacing for justified alignment. We intend to introduce an adjustable property to allow for fine-tuning of this ratio.
Cancelling since fix will go into 2022.2.
Cancelling since fix will go into 2021.3.
Reproduction steps:
1. Open project "UIToolkitJustify"
2. Open Assets > UIDoc
Expected result: The text does not go over bounds
Actual result: The text goes over bounds
Reproducible with: 2021.2.11f1, 2022.1.0b6, 2022.2.0a5
Could not test with: 1.0.0-preview.18 (2020.3.27f1, Can't open "UIDoc", getting this error: "There is no application set to open the document “UIDoc.uxml”."), 2019.4.35f1 (Package not supported)
Notes:
Text wrap is checked
If you add one more letter, the text is displayed correctly
Prioritise and Follow this issue
Have a workaround or additional info about this issue?