Jump to content
  • Advertisement

Archived

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

da_cobra

font engine

This topic is 6068 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

does any1 know where I can find free font classes to use in my game, not for TrueType fonts but for bitmap fonts and also where can I find Bitmap fonts? I already searched the web, but I only find Truetype fonts :/ thanx in advance PS (I can always try to make my own Font class, but I would also need bitmap fonts then :D)

Share this post


Link to post
Share on other sites
Advertisement
The way most of the newer font engines work is like this.

They grab the truetype font when you start up your game. They then convert that truetype font into a bitmap font based on the size data you gave. Then it uses the newly created bitmap font in the game.

The DirectX 8.0 ddutil.cpp or dxutil.cpp has example code on how to do this.

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!