Hi everyone,
I have a string text in a table form. When I send it to BitmapText to render (using “Interface/Fonts/Default.fnt” font), the aligning is so weird. I’ve provided images.
The text string that I’m trying to render:
The result:
Hi everyone,
I have a string text in a table form. When I send it to BitmapText to render (using “Interface/Fonts/Default.fnt” font), the aligning is so weird. I’ve provided images.
The text string that I’m trying to render:
The result:
Yes, that is because the default JME font is not a monospaced font I guess.
You should use a monospaced font for that I think.
Suggestion: also i would suggest use LemurGUI(create real labels instead of text-based). If you no need text-based here.
Makes sense, I just need to show the results. It does not matter what I’m using