Hey guys, so I signed up just to post this because it's so easy and I didn't see any other answers anywhere as I was searching and trying to figure this out.
I wanted to make one large version of my bitmap text and scale it to whatever size I needed, but it seemed to be blurry if I scaled it at all. I looked around and it seemed like everyone kept saying it wasn't possible to make it sharp. This isn't true though! After a bit of experimenting trying to change the mip-mapping levels, I accidentally turned off the mip-mapping completely and the text was lovely and sharp at all the different scales I tried.
Just do this:
// This makes a texture without mip-mapping var MyFontTexture:Texture = Texture.fromBitmap( new INSERT_FONT_BITMAP_HERE(), false ); // This registers the font TextField.registerBitmapFont( new BitmapFont(MyFontTexture, XML(new INSERT_FONT_XML_HERE())), "MyFont" ); // This makes your text field var textField:TextField = new TextField( 500, 200, "Welcome to Starling!", "MyFont", 50, 0xFFFFFF ); // Make sure the color is solid white, or your font will be colored in
I made a very large version of my fancy bitmap font (100pt) in Littera with a thick outline, and it's still clear and crisp at small sizes. I hope this helps someone!