Fix TextFormattingMode = Display

https://github.com/2dust/v2rayN/discussions/5740
pull/5767/head
2dust 2 months ago
parent 77a59e9107
commit 8e28cc01b8

@ -186,7 +186,7 @@
x:Key="WindowGlobal" x:Key="WindowGlobal"
BasedOn="{StaticResource {x:Type Window}}" BasedOn="{StaticResource {x:Type Window}}"
TargetType="{x:Type Window}"> TargetType="{x:Type Window}">
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" /> <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" /> <Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" /> <Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
</Style> </Style>
@ -194,7 +194,7 @@
x:Key="ViewGlobal" x:Key="ViewGlobal"
BasedOn="{StaticResource {x:Type UserControl}}" BasedOn="{StaticResource {x:Type UserControl}}"
TargetType="{x:Type UserControl}"> TargetType="{x:Type UserControl}">
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" /> <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" /> <Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" /> <Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
</Style> </Style>

Loading…
Cancel
Save