CDC Textout leaves artefacts

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have an application that is using the MFC TextOut function to draw some text. The font is Arial. When I blink the text by redrawing it as the background color or even just change the text I am left with small bits of the original text (basically a ghost outline of the text). I have found that is is related to the anti-aliasing of the true type font and if I turn anti-aliasing off the problem goes away.

But is there a proper solution to this problem without turing off anti-aliasing?

C++ .net
XP and W 2000 targets

Thanks,
Rick

View the full article
 
Back
Top