uno
uno copied to clipboard
TextBlock text shaping broke
I'll put it here. if you want to, you can open an issue. thanks I'm referring everything such as textbox, textblock and button:
by the way, this is ubuntu 22.04 and vscode. latest version of everything
Originally posted by @aliajboy in https://github.com/unoplatform/uno/issues/6783#issuecomment-2104703948
Yes, this is a known limitation of our managed TextBox: RTL languages are not supported. @jeromelaban should we prioritize this?
Meanwhile, users can use the GTK target with FeatureConfiguration.TextBox.UseOverlayOnSkia = true
Edit: I just noticed this is a TextBlock issue, not TextBox, so this is not expected indeed.
Arabic renders correctly on my machine, even when explicitly setting FontFamily
to a font that doesn't contain Arabic characters. Assigning to Ramez in case he can reproduce.
@Youssef1313 Can you share your sample? so I can test that. But I changed nothing in new uno platform project! just changed some text and saw this problem. then searched web for solution but not found. So I came here to ask developers of UNO to help me with that. thanks
@aliajboy Can you please give us a small repro project that showcases the problem? Make sure you're using the most recent packages.
Segments are not calculated correctly when the font doesn't have the needed glyph, causing Arabic text to have a segment per letter, which is incorrect