jojacafe
11/9/2015 - 10:54 AM

From http://es.androids.help/q3294

https://github.com/libgdx/libgdx/wiki
// Font space
FileHandle fontFile = Gdx.files.internal("fonts/space.fnt");
font = new BitmapFont(fontFile, true);
font.getData().setScale(0.4f);

// Creem l'estil de l'etiqueta i l'etiqueta
textStyle = new Label.LabelStyle(AssetManager.font, null);
textLbl = new Label("SpaceRace", textStyle);


http://www.programmingmoney.com/custom-bitmap-font-for-libgdx/
Label text;
LabelStyle textStyle;
BitmapFont font = new BitmapFont();
//font.setUseIntegerPositions(false);(Optional)

textStyle = new LabelStyle();
textStyle.font = font;

text = new Label("Gamever",textStyle);
text.setBounds(0,.2f,Room.WIDTH,2);
text.setFontScale(1f,1f);