Skip to main content

All Questions

Tagged with
0 votes
0 answers
13 views

Application stops working when I add two fonts

I created a game that has two fonts. Being precise, the two fonts are PRESS_START_2P with the difference only in size. One of the fonts serves to write the title and the other for all other things. ...
Boneco Sinforoso's user avatar
0 votes
1 answer
1k views

LibGdx: set TextButton font to a TrueTypeFont

I am making my first LibGdx game, and having an hard time understanding font scaling on TextButtons. Here is a comparison between the rendering on my Kindle Fire 7 and an high resolution tablet: I ...
Ferduun's user avatar
  • 15
2 votes
1 answer
416 views

How do I render Hindi text in Libgdx?

How do I render Hindi text in Libgdx using any font? For example, I want to render the word "प्रकार". Here is what I have, so far: ...
arv's user avatar
  • 66
1 vote
2 answers
600 views

How to Refresh Dependencies after Adding FreeType Extension in Android Project

I'm planning to use FreeType fonts in my game (LibGDX and Android Studio) and I already added the freetype dependencies in my project. How can I refresh the dependencies after adding them? I have ...
JAlmazan's user avatar
0 votes
1 answer
1k views

libgdx - Trying to load ttf font using asset manager

I tried to load a ttf font using an AssetManager like this: ...
DimChtz's user avatar
  • 101
8 votes
2 answers
796 views

Android libGDX FreeTypeFontGenerator exception

I am working on a libGDX project for Android. Since I added the following code, running the game on my Android phone produces an exception: ...
Tobi's user avatar
  • 181
11 votes
2 answers
16k views

Problem to match font size to the screen resolution in libgdx

I'm having problems to show text on my game at same size on different screens, and I did a simple test. This test consists to show a text fitting at the screen, I want the text has the same size ...
Iñaki Bedoya's user avatar
2 votes
1 answer
1k views

AndEngine Font Issue

I am learning AndEngine. I am displaying Hello world using this code: ...
Noaman Akram's user avatar