aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Stevenson <everamzah@gmail.com>2016-09-15 11:53:17 -0400
committerest31 <MTest31@outlook.com>2016-09-21 08:04:11 +0200
commit679c8de63ffb7119f2b99b00883bc959f5917da4 (patch)
tree5a3846a28ca129697bcae1c1857e0ed0e8af7c34 /src
parentabb6fba24f346c931bc83cc875f8756c2467c469 (diff)
downloadminetest-679c8de63ffb7119f2b99b00883bc959f5917da4.tar.gz
minetest-679c8de63ffb7119f2b99b00883bc959f5917da4.tar.bz2
minetest-679c8de63ffb7119f2b99b00883bc959f5917da4.zip
Increase default font size by 1
Diffstat (limited to 'src')
-rw-r--r--src/constants.h2
-rw-r--r--src/defaultsettings.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/constants.h b/src/constants.h
index b606fc4fa..55ae9daf3 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -112,7 +112,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#if defined(_WIN32)
#define TTF_DEFAULT_FONT_SIZE (18)
#else
- #define TTF_DEFAULT_FONT_SIZE (15)
+ #define TTF_DEFAULT_FONT_SIZE (16)
#endif
#define DEFAULT_FONT_SIZE (10)
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 7c6f7ef3d..4520bac2f 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -213,7 +213,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("freetype", "true");
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "liberationsans.ttf"));
settings->setDefault("font_shadow", "1");
- settings->setDefault("font_shadow_alpha", "128");
+ settings->setDefault("font_shadow_alpha", "127");
settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "liberationmono.ttf"));
settings->setDefault("fallback_font_path", porting::getDataPath("fonts" DIR_DELIM "DroidSansFallbackFull.ttf"));