Font-Awesome-WPF icon indicating copy to clipboard operation
Font-Awesome-WPF copied to clipboard

Use grayscale antialiasing

Open BelikovSergey opened this issue 7 years ago • 1 comments

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? cleartype

BelikovSergey avatar Nov 29 '17 13:11 BelikovSergey

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" />

chucker avatar Oct 25 '19 15:10 chucker