I made a dialog application that draws text into the window using the device context:
I also made an option in which you can change the font. But when you choose the print preview it is all messed up. Depending on what font size you choose it shows the letters overlapping each other or too far away from each other in the print preview.Code:CDC* pCD = GetDC(); pDC->TextOut(x, y, "some text I want to print");
Anyway to fix this?