uno icon indicating copy to clipboard operation
uno copied to clipboard

TextBlock text shaping broke

Open Youssef1313 opened this issue 9 months ago • 3 comments

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:

Screenshot from 2024-05-04 16-19-42

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

Youssef1313 avatar May 10 '24 14:05 Youssef1313

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.

ramezgerges avatar May 10 '24 16:05 ramezgerges

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 avatar May 13 '24 11:05 Youssef1313

@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 avatar May 13 '24 20:05 aliajboy

@aliajboy Can you please give us a small repro project that showcases the problem? Make sure you're using the most recent packages.

ramezgerges avatar May 22 '24 11:05 ramezgerges

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

Youssef1313 avatar Jul 15 '24 12:07 Youssef1313