summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/RustAndDust.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java
index 9c91efe..aed90cc 100644
--- a/core/src/ch/asynk/rustanddust/RustAndDust.java
+++ b/core/src/ch/asynk/rustanddust/RustAndDust.java
@@ -151,7 +151,7 @@ public class RustAndDust extends Game
uiAtlas = manager.get("data/ui.atlas", TextureAtlas.class);
FreeTypeFontGenerator generator = new FreeTypeFontGenerator(Gdx.files.internal("skin/veteran-typewriter.ttf"));
FreeTypeFontParameter parameter = new FreeTypeFontParameter();
- parameter.size = 20;
+ parameter.size = Math.max((int) (Gdx.graphics.getHeight() * 0.04f), 15);
parameter.color = Color.BLACK;
fontB = generator.generateFont(parameter);
parameter.color = Color.WHITE;