Search code examples
libgdx

Libgdx Android: Commas and dots not showing


I'm using a FreeTypeFont where I set the parameter size and also scale the font. In desktop commas and dots are showing, e.g. "1.000.000" but when I run it in Android it becomes "1 000 000"

Any thoughts on how to solve this problem?


Solution

  • I solved this by setting the maximu texture size.

    FreeTypeFontGenerator.setMaxTextureSize(2048)