You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Text trims incorrectly when CJK characters sit between rounded brackets. English characters seem to be working fine. Full-width brackets work fine as well.
To Reproduce
Here's a sample code:
<StackPanel>
<TextBlock FontSize="40" TextTrimming="CharacterEllipsis" Text="这里有一些中文字符 (放在一个英文括号里面)"/>
<TextBlock FontSize="40" TextTrimming="CharacterEllipsis" Text="Here are some English texts (in round brackets)"/>
</StackPanel>
With avalonia it produces this:
However, just as what WPF shows, it is supposed to be something like this:
Environment
OS: Windows
Avalonia-Version: 11.0.6
The text was updated successfully, but these errors were encountered:
Thanks for your attention, but it doesn't seem to be fixed on my side with Avalonia 11.2.3, or with the prerelease version mentioned in the pull request 11.3.999-cibuild0053672-alpha, or the lastest pre-release version 11.3.999-cibuild0054097-alpha
Describe the bug
Text trims incorrectly when CJK characters sit between rounded brackets. English characters seem to be working fine. Full-width brackets work fine as well.
To Reproduce
Here's a sample code:
With avalonia it produces this:
However, just as what WPF shows, it is supposed to be something like this:
Environment
The text was updated successfully, but these errors were encountered: