ClearType and MFC

Started by
2 comments, last by AndyTang 21 years, 6 months ago
Is there any way to tell ClearType (or other font smooth methods) in XP to stop using it for the current window? I''m TextOut(...)-ing to a CScrollView in MFC, and its blurring the text. Just wondering cause notepad seems to keep the text nice and sharp even with ClearType on. Thanks all!
Advertisement
That''s quite strange...
The only reason I can think of - the text is drawn multiple times at the same place.
Can you post a screenshot?
Yes, actually there is.

In your CreateFont call, set the fdwQuality parameter to NONANTIALIASED_QUALITY.

Or, if you use CreateFontIndirect, set the lfQuality member of the LOGFONT structure to the same.
daerid@gmail.com
Thank you for that, I wasnt quite sure since font smoothing seems to be quite new - well ClearType is anyway.

This topic is closed to new replies.

Advertisement