Hello I try to display special charscters "äöü". I using I18NBundle to store strigs. But the problem shouldn't be here becose if I print it to the console
System.out.println(bundle.get(key));
It does display "äöü".
If I try to get the glyph out of the LabelStyle:
BitmapFont.Glyph glyph = labelStyle.font.getData().getGlyph('ö');
Gdx.app.log(String.valueOf(glyph.id), glyph.toString());
I get a NullPointerException.
I did get my BitmapFont from Hiero-4 and did pack the png into TexturePacker.
TextureAtlas background = manager.get(Const.BACKGROUNDS_PATH);
skin_bg = new Skin(Gdx.files.internal(Const.BACKGROUNDS_STYLE_PATH), background);
"com.badlogic.gdx.graphics.g2d.BitmapFont": {
"arial": { "file": "images/arial.fnt" }
}
EDIT: I cecked the lwjgl version: 2.9.2 it shouldn't be because of this lib. Bug is after 2.9.1
How could I test if the BitMapFont can display Special Characters