MahApps.Metro icon indicating copy to clipboard operation
MahApps.Metro copied to clipboard

Horrible Font Rendering - What Did I Do Wrong?

Open mrichman opened this issue 12 years ago • 5 comments

I've been using MahApps.Metro for a few weeks now, and I can't figure out why the fonts look so horrible. I'm just using Segoe UI and Segoe UI Semilight.

2014-05-11 17_05_19-cmc installer v1 0 28937

mrichman avatar May 11 '14 21:05 mrichman

@Amrykid @punker76 @flagbug i reported this problem respect of the fonts, see this image

spiritdead avatar May 12 '14 16:05 spiritdead

Okay so this is not a bug, per se, but rather some poorly documented behavior, I believe.

This fixes it:

<controls:MetroWindow ...
        RenderOptions.ClearTypeHint="Enabled"
        TextOptions.TextFormattingMode="Display">

Can these two values be made the MetroWindow defaults? If not, why?

mrichman avatar May 14 '14 14:05 mrichman

Not sure why but I just put those two lines in and my font rendering looks even more horrible. Not sure if it is just me or anyone else seen this problem as well. I'd rather leave the default values as they allow users to add them selectively when necessary. So, my suggestion is to document this rather than baking into MetroWindow.

ashokgelal avatar May 19 '14 18:05 ashokgelal

@mrichman It is some settings from WPF which is up to the developers whether turning them on or not.. consider reading this article :) http://blogs.msdn.com/b/llobo/archive/2009/10/28/new-wpf-features-cleartypehint.aspx

shadowaltar avatar May 20 '14 01:05 shadowaltar

@mrichman @ashokgelal i also think leave the default values and document it

punker76 avatar May 23 '14 13:05 punker76