Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF Anti aliasing workaround

Tags:

.net

wpf

Anti aliasing cannot be turned off in WPF. But I want to remove the blurred look of WPF fonts when they are small.

One possibility would be to use a .net 2.0 component. This looks like it would lose the transparency capability and Blend support. Never tried it though.

Anyone has a solution for this? Any drawbacks from it?

Thank you

like image 686
Artur Carvalho Avatar asked Aug 22 '08 09:08

Artur Carvalho


1 Answers

Anti-Alias can be turned off starting WPF 4.0 with following option:

TextOptions.TextFormattingMode="Display"
like image 153
Wolkenjaeger Avatar answered Sep 19 '22 14:09

Wolkenjaeger