Ok, I think I’m totally missing the boat here.
I found this Bitmap Font Builder which is very cool. Takes whatever fonts you have installed on your windows box and allows you to build a bmp from them. Great!
But, I can’t for the life of me figure out how to change the rendered size. They always come out 16x16.
Text _text = new Text("label", "Test String");
_text .setLocalTranslation(new Vector3f(1, 30, 0)); // put it in the lower left corner
TextureState textImage = display.getRenderer().getTextureState();
textImage.setEnabled(true);
textImage.setTexture( TextureManager.loadTexture(
FinisGame.class.getClassLoader().getResource(
"data/font/new32.bmp"),
Texture.MM_LINEAR,
Texture.FM_LINEAR,
true));
_text.setLocalScale( 20.0f);
_text.setRenderState( textImage);
// *** alpha state left out *** //
So, I figured that changing the LocalScale would do it. Nope.
I tried it before and after setting the texture.
I tried setting the LocalScale of the root element to try and scale it all. No go there either.
I guess I'm just missing the point.
Help would be appreciated.