Advertisement

font engine

Started by December 09, 2001 03:56 AM
0 comments, last by da_cobra 23 years ago
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)
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.
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.

This topic is closed to new replies.

Advertisement