Text input/output in DirectX
Posted on 1998-03-17
What I want to do is input and output some text to a fullscreen DirectX application. Now, I'm not looking for miracles here, but I know there has to be a way to do this without too much pain - I'd hate to have to go convert a font from its font format into individual graphic files for each letter of the alphabet. I know there has to be a way to drawtext to the DirectX screen, or background buffer - but I haven't found any reference for it, and I've assumed since using DirectX bypasses the normal Windows paint method that I couldn't use textout.
I want to use some standard system font (ie: Arial) and display it on my screen for things like score counters, highscore lists, etc.
I know there has to be a way to do it. Diablo does it in their multiplayer chat, and draws text during the game using their own font (which I do believe is a font, and not a set of graphic images).
Any and all help would be appreciated.