문제

I know this is a very subjective question but as text rendering in WPF is still an issue I have to make the best out of it.

In WPF Application text tend to become blurry that is no secret. Also there are countless website about this topic and how you get around this problem. But I wonder ... text blurriness seems to affect some fonts more that others. So I am still looking for the best font available to get around this issue.

So far I am still using Arial and it doesn't look good. But I am sure some other font are more suitable for the task at hand.

도움이 되었습니까?

해결책

You could try with the fonts that have been optimized for ClearType. Typically their names will start with a 'c':

Many, but not all, fonts that start with C and come installed with Windows Vista (Cambria, Calibri, Corbel, Candara, Consolas, etc...) have been designed to work well with WPF. In addition to these, fonts with robust outlines like Verdana, Georgia, etc… display well on computer screens.

(quoted from Text Clarity in WPF).

alt text

alt text

(image source: http://windowsclient.net/wpf/white-papers/wpftextclarity.aspx)

다른 팁

You probably want to go with WPF 4, as it has all of the nice changes that they made to get VS2010 looking nice.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top