If you can you should avoid dependency on TTF\OTF files.
Most games use a font sprite sheet. There are two reasons to do this:
-
Getting a license to distribute the font rendered into a sprite-sheet is usually a lot easier to acquire. Distributing the TTF can become very expensive and can create a lot of licensing head aches.
-
Drawing font from a sprite-sheet is much more optimal and memory efficient for games. You don’t need a lot of the TTF implementation for games (which typically have a very primitive UI subsystem anways…)
Some games will distribute with the TTFs so that they can re-generate (and cache) fonts into a sprite sheet when the users resolution changes etc.