Jump to content
  • Advertisement

Archived

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

leggyguy

Text Blitter (none GDI) help

This topic is 6114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, my DirectX game currently uses GDI for it''s text (it features lots of text) and I am very mindful of the speed issues inherent with the use of GDI. So I am about to begin removing the GDI functions, and implement some of my own functions to do the same job. Anyway, I guess I can make a text blitter which uses DirectX blitting techniques and a text bitmap surface featuring my different fonts. However, I am wondering if there is anything already prepared for us, because I am sure that this is a very common problem. Perhaps someone has already addresed this problem and made something (text bitmaps and code, though that isn''t absolutely necessary) available to us. Does anyone know if this is the case? And if so, where we can find the code or articles in which this is addressed. If there is nothing available, I shall make my own functions and bitmaps, but I can see this taking two or three days. Any time saver would be fantastic.

Share this post


Link to post
Share on other sites
Advertisement
My plan is to use the GDI to draw the entire font onto an off-screen Dx surface, and blit the characters from that. I think there is an article or two about fonting...

Share this post


Link to post
Share on other sites
If you plan to make bitmaps of fonts and then make your own functions to write them to screen you may be interested in an application from this page http://www.lmnopc.com/ that makes fonts into a bitmap for you. A great time saver.

Ballistic Programs

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!