Font-Awesome-WPF
Font-Awesome-WPF copied to clipboard
Use grayscale antialiasing
Hi!
I notice that it uses ClearType (colored) antialiasing to render icons. Which is good for text, but bad for icons. Is there a way to use grayscale antialiasing?
If you use <FontAwesome>
as the control, then you can set TextOptions.TextRenderingMode="Grayscale"
. (There doesn't appear to be an equivalent for <ImageAwesome>
.)
For example:
<fa5:FontAwesome Icon="Solid_History" FontSize="16"
TextOptions.TextRenderingMode="Grayscale" TextOptions.TextFormattingMode="Ideal" />