diff options
author | James Stevenson <everamzah@gmail.com> | 2016-09-15 11:53:17 -0400 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-09-21 08:04:11 +0200 |
commit | 679c8de63ffb7119f2b99b00883bc959f5917da4 (patch) | |
tree | 5a3846a28ca129697bcae1c1857e0ed0e8af7c34 /src | |
parent | abb6fba24f346c931bc83cc875f8756c2467c469 (diff) | |
download | minetest-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.h | 2 | ||||
-rw-r--r-- | src/defaultsettings.cpp | 2 |
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")); |