-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'x' character is replaced by multplication in TextBlock.Text (Avalonia 11.1.4) #17282
Comments
please provide some sample code to reproduce |
This is just regular text shaping. Use a different font or disable the font feature. |
No, it is not. Text like "x0x23" has first x normal and second x changed. |
It was not visible: |
@Kruno313 since you haven't mentioned which font are you using, I assume it's Inter. Inter is a default font used in our templates. I uploaded Inter font into https://fontdrop.info/ font viewer webapp, and input your text Avalonia renders this text as expected from the font. I am closing this issue as
|
@Kruno313 it's also possible to disable specific font features:
For a complete FontFeatures syntax, see https://harfbuzz.github.io/harfbuzz-hb-common.html#hb-feature-from-string |
Thanks. |
Describe the bug
I format my values as hexadecimal (with "0x" preamble) and output them on TextBlock.
I noticed that the x is replaced with an higher placed x, so "0x1A30" looks like multiplication operation. It is done only when x is between numbers.
It looks strange and it's wrong.
To Reproduce
<TextBlock Text="0x1234" />
It is obvious in designer.
Expected behavior
TextBlock should not change text. Searching and replacing makes it only slover for no benefit, making only problems.
Avalonia version
11.1.4
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: