ClearType and MFC
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!
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?
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement