David Webber
2012-08-13 13:35:36 UTC
Any ideas, anyone, about what might prevent text antialiasing?
In an MDI application, I am creating fonts with CFont::CreateFontIndirect
from LOGFONTs with
logfont.lfQuality = ANTIALIASED_QUALITY;
I am selecting the fonts in turn into the CDC in the CMyView::OnDraw
member, and outputting the text with CDC::TextOut().
The heights, weights, and faces all look like what I'd expect, and the
colours chosen with CDC::SetTextColor() are fine.
But I'm not getting antialiasing!
Have I missed something? [Other MDI programs I've written don't have this
problem, but I can't remember what I might have done differently.]
Dave
-- David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm
In an MDI application, I am creating fonts with CFont::CreateFontIndirect
from LOGFONTs with
logfont.lfQuality = ANTIALIASED_QUALITY;
I am selecting the fonts in turn into the CDC in the CMyView::OnDraw
member, and outputting the text with CDC::TextOut().
The heights, weights, and faces all look like what I'd expect, and the
colours chosen with CDC::SetTextColor() are fine.
But I'm not getting antialiasing!
Have I missed something? [Other MDI programs I've written don't have this
problem, but I can't remember what I might have done differently.]
Dave
-- David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm