aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorIlya Zhuravlev <zhuravlevilya@ya.ru>2013-12-12 21:47:54 +0400
committerIlya Zhuravlev <zhuravlevilya@ya.ru>2013-12-12 21:47:54 +0400
commit76036abdb0d9cb2c971e5a69331c77872d38c56f (patch)
treee392c4035012806844c8565456281c1c7d7a11d1 /src/defaultsettings.cpp
parent4ccaa6d0af852d0aada01f341a61290a3760cffa (diff)
downloadminetest-76036abdb0d9cb2c971e5a69331c77872d38c56f.tar.gz
minetest-76036abdb0d9cb2c971e5a69331c77872d38c56f.tar.bz2
minetest-76036abdb0d9cb2c971e5a69331c77872d38c56f.zip
Add configurable font shadow.
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 106e5d9c2..9b407b1c3 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -153,10 +153,12 @@ void set_default_settings(Settings *settings)
settings->setDefault("freetype", "true");
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "liberationsans.ttf"));
settings->setDefault("font_size", "13");
+ settings->setDefault("font_shadow", "1");
settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "liberationmono.ttf"));
settings->setDefault("mono_font_size", "13");
settings->setDefault("fallback_font_path", porting::getDataPath("fonts" DIR_DELIM "DroidSansFallbackFull.ttf"));
settings->setDefault("fallback_font_size", "13");
+ settings->setDefault("fallback_font_shadow", "1");
#else
settings->setDefault("freetype", "false");
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "fontlucida.png"));