M HYPE SPLASH
// general

How to convert a true type font into a bitmap font?

By Andrew Adams

I need to convert a true type font (more specifically, the Arial.ttf font) into a bitmap font (XML + PNG). How can I do that easily?

2 Answers

There are a couple of programs that are good at this:

  • Font Builder is open source and is/should be cross-platform.
  • AngelCode's bitmap font generator is a simpler program in case Font Builder is too complicated or doesn't do what you need it to do.
  • FontForge is a powerful editor that lets you edit, create, and convert fonts to bitmap (and, perhaps, vice versa).

Do note, however, that these programs don't output any XML metadata like you wanted. There isn't any program that can do this at the moment.

1

I made this one a while back. It can build compact font bitmaps, optionally including kerning, and includes source code to load and display the fonts

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy