Describe the bug
Caret in the end of the string overlaps letter
To Reproduce
Steps to reproduce the behavior:
- Create text box with Inter font and a bit smaller font size (i.e. 11.92)
- Write some text and compare caret position relative to letter in the end of the string and in the middle.
<LayoutTransformControl> <LayoutTransformControl.LayoutTransform> <ScaleTransform ScaleX="5" ScaleY="5" /> </LayoutTransformControl.LayoutTransform> <TextBox FontFamily="avares://Avalonia.Fonts.Inter/Assets#Inter" FontSize="11.92" /> </LayoutTransformControl>
Expected behavior
Caret offset from letter is always the same
Screenshots
I applied x5 scaling to window for better visibility.
here you can see distance between number and caret

and here they overlap

Desktop (please complete the following information):
Describe the bug
Caret in the end of the string overlaps letter
To Reproduce
Steps to reproduce the behavior:
<LayoutTransformControl> <LayoutTransformControl.LayoutTransform> <ScaleTransform ScaleX="5" ScaleY="5" /> </LayoutTransformControl.LayoutTransform> <TextBox FontFamily="avares://Avalonia.Fonts.Inter/Assets#Inter" FontSize="11.92" /> </LayoutTransformControl>Expected behavior
Caret offset from letter is always the same
Screenshots
I applied x5 scaling to window for better visibility.
here you can see distance between number and caret

and here they overlap

Desktop (please complete the following information):