diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2019-09-10 15:11:26 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-11-03 11:45:33 +0100 |
commit | 72416a6a1f75d56abfad0f486e57fd32579b3604 (patch) | |
tree | 2ff2978c1aec4ee6548474b8c65d3c96bab5b05f /src/defaultsettings.cpp | |
parent | 8697090b3564b508af50d40068a61db280f714a6 (diff) | |
download | minetest-72416a6a1f75d56abfad0f486e57fd32579b3604.tar.gz minetest-72416a6a1f75d56abfad0f486e57fd32579b3604.tar.bz2 minetest-72416a6a1f75d56abfad0f486e57fd32579b3604.zip |
Formspec: add hypertext element
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 01ee97a33..1ab4a333e 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -292,9 +292,17 @@ void set_default_settings(Settings *settings) #if USE_FREETYPE settings->setDefault("freetype", "true"); settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "Arimo-Regular.ttf")); + settings->setDefault("font_path_italic", porting::getDataPath("fonts" DIR_DELIM "Arimo-Italic.ttf")); + settings->setDefault("font_path_bold", porting::getDataPath("fonts" DIR_DELIM "Arimo-Bold.ttf")); + settings->setDefault("font_path_bold_italic", porting::getDataPath("fonts" DIR_DELIM "Arimo-BoldItalic.ttf")); + settings->setDefault("font_bold", "false"); + settings->setDefault("font_italic", "false"); settings->setDefault("font_shadow", "1"); settings->setDefault("font_shadow_alpha", "127"); settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "Cousine-Regular.ttf")); + settings->setDefault("mono_font_path_italic", porting::getDataPath("fonts" DIR_DELIM "Cousine-Italic.ttf")); + settings->setDefault("mono_font_path_bold", porting::getDataPath("fonts" DIR_DELIM "Cousine-Bold.ttf")); + settings->setDefault("mono_font_path_bold_italic", porting::getDataPath("fonts" DIR_DELIM "Cousine-BoldItalic.ttf")); settings->setDefault("fallback_font_path", porting::getDataPath("fonts" DIR_DELIM "DroidSansFallbackFull.ttf")); settings->setDefault("fallback_font_shadow", "1"); |