Archived

This topic is now archived and is closed to further replies.

intrest86

DrawText

Recommended Posts

intrest86    742
Oooohh.... I hate posting questions that I think I should be able to figure out, but I have wasted enough time on it. I am making my Window Class for my GUI in D3D8, and I am trying to draw text in the correct relation with the window. I am now thinking the best way to do this would be to draw the text to a texture and apply it to the TitleBar Surface. Does nyone know how I would Do this? My second question regards a weird text problem I have. When I use Draw text I get weird results. I have A bounding box that is more than large enough to hold my text, but it ends up either clipped, or spewed around randomly, with something like the bottom on the top, and the top on the bottom. Anyone know what I am doing wrong? If I am not clear, tell me and I will try again.

Share this post


Link to post
Share on other sites
JonStelly    127
I''m using ID3DXFont without problems. Perhaps you could post some screenshots of what''s going on and the code you are using to generate the text?

Share this post


Link to post
Share on other sites