I'm developing a CAD-like application and need to implement drawing of text objects. With these I have following problem:
When drawing a text with TextOut() the text is displayed with an offset if the font's rotation is not orthogonal (not 0, 90, 180 or 270 degrees). The amount of this offset depends on the font's height and moves the text from the insertion point toward the baseline of the text.
Is there anybody out there who knows how to avoid this offset or at least to calculate this offset exactly?
If this description of my problem is unclear please tell me, I can post a sample drawing function which illustrates it ...
BTW, I'm using MFC(VC++6.0, NT4Sp5), but I don't think it's a MFC problem but a general Windows problem.
thanks in advance,