How can I disable ligatures in TextEditor? #432

Open
opened 2024-08-31 07:53:33 -05:00 by QYF-RYCBStudio · 0 comments
QYF-RYCBStudio commented 2024-08-31 07:53:33 -05:00 (Migrated from github.com)

Discussed in https://github.com/icsharpcode/AvalonEdit/discussions/431

Originally posted by QYF-RYCBStudio August 31, 2024
When I use Jetbrains Mono to show the code, I find that they do the ligatures for most operators. But I can't find any property to disable it.
The Microsoft offical website says SetValue(Typography.StandardLigaturesProperty, false); can disable it, but I can't. (See https://learn.microsoft.com/dotnet/desktop/wpf/advanced/opentype-font-features?view=netdesktop-8.0).
Screenshots:
image
image

### Discussed in https://github.com/icsharpcode/AvalonEdit/discussions/431 <div type='discussions-op-text'> <sup>Originally posted by **QYF-RYCBStudio** August 31, 2024</sup> When I use `Jetbrains Mono` to show the code, I find that they do the ligatures for most operators. But I can't find any property to disable it. The Microsoft offical website says `SetValue(Typography.StandardLigaturesProperty, false);` can disable it, but I can't. (See https://learn.microsoft.com/dotnet/desktop/wpf/advanced/opentype-font-features?view=netdesktop-8.0). Screenshots: ![image](https://github.com/user-attachments/assets/1b47b2fd-3fa7-4ad2-94dd-90676b2da1f1) ![image](https://github.com/user-attachments/assets/a27dc004-90b7-4b67-a27e-a21ffddeb41b) </div>
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#432
No description provided.