Archived

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

da_cobra

font engine

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
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