Typing = followed by > in a TextBox field #17946
-
... then the input is changed into an arrow character. Same for various other combos (dash and >, and more) How can I disable that 'feature' that, it seems, has been introduced recently ? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
These combined glyphs are called ligatures. You can turn this off with It seems intuitive to turn them off with <TextBox FontFeatures="-calt" /> |
Beta Was this translation helpful? Give feedback.
-
Thanks, that worked... Still wondering which version of Avalonia introduced this... |
Beta Was this translation helpful? Give feedback.
These combined glyphs are called ligatures. You can turn this off with
FontFeatures
.It seems intuitive to turn them off with
-liga
. However, after inspecting the Font Features using fontdrop.info for the Inter font supplied by Avalonia, it appears that the arrow ligatures are part of "contextual alternatives". So you need-calt
(orcalt
with state of 0).