Jump to content
  • Advertisement
nadyakzmn

Fonts formats in video games

Recommended Posts

I'm making a research about using fonts in video games.
Could you, please, help me and share your experience.

What are possible font formats that are used in games? What are their technical advantages and disadvantages?

Thank you for the help!

Share this post


Link to post
Share on other sites
Advertisement
Posted (edited)

The easiest way to implement font rendering I found was creating a printable ASCII texture of a monospace font. It's pretty easy to manage as limited for general purpose since you only have 95 different chars, but is more then enough for debug and profile print. I also use a raster graphics editor (like photoshop, gimp, whatever) to create a soft, fake anti-alias version of the font: with a little care the final result is more then acceptable for its purpose.

Of course you always use external libraries and APIs, on Windows platform you can go with the combo Direct2D and DirectWrite, which can be coupled with any DXGI-compatible 3D rendering API.

Edited by Alessio1989

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!