Use fixed with font for coin counter to make it less jumpy.
[supertux.git] / src / resources.cpp
index 3931b2e..5dee002 100644 (file)
@@ -31,6 +31,7 @@
 MouseCursor* mouse_cursor = NULL;
 
 Font* gold_text = NULL;
+Font* gold_fixed_text = NULL;
 Font* blue_text = NULL;
 Font* gray_text = NULL;
 Font* white_text = NULL;
@@ -48,6 +49,9 @@ void load_shared()
   gold_text  = new Font(Font::VARIABLE,
                         "images/engine/fonts/gold.png",
                         "images/engine/fonts/shadow.png", 16, 18);
+  gold_fixed_text  = new Font(Font::FIXED,
+                        "images/engine/fonts/gold.png",
+                        "images/engine/fonts/shadow.png", 16, 18);
   blue_text  = new Font(Font::VARIABLE,
                         "images/engine/fonts/blue.png",
                         "images/engine/fonts/shadow.png", 16, 18, 3);