mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
Increase default font size by 1
This commit is contained in:
parent
abb6fba24f
commit
679c8de63f
@ -561,13 +561,13 @@ freetype (Freetype fonts) bool true
|
||||
# Path to TrueTypeFont or bitmap.
|
||||
font_path (Font path) path fonts/liberationsans.ttf
|
||||
|
||||
font_size (Font size) int 15
|
||||
font_size (Font size) int 16
|
||||
|
||||
# Font shadow offset, if 0 then shadow will not be drawn.
|
||||
font_shadow (Font shadow) int 1
|
||||
|
||||
# Font shadow alpha (opaqueness, between 0 and 255).
|
||||
font_shadow_alpha (Font shadow alpha) int 128 0 255
|
||||
font_shadow_alpha (Font shadow alpha) int 127 0 255
|
||||
|
||||
mono_font_path (Monospace font path) path fonts/liberationmono.ttf
|
||||
|
||||
|
@ -655,7 +655,7 @@
|
||||
# font_path = fonts/liberationsans.ttf
|
||||
|
||||
# type: int
|
||||
# font_size = 15
|
||||
# font_size = 16
|
||||
|
||||
# Font shadow offset, if 0 then shadow will not be drawn.
|
||||
# type: int
|
||||
@ -663,7 +663,7 @@
|
||||
|
||||
# Font shadow alpha (opaqueness, between 0 and 255).
|
||||
# type: int min: 0 max: 255
|
||||
# font_shadow_alpha = 128
|
||||
# font_shadow_alpha = 127
|
||||
|
||||
# type: path
|
||||
# mono_font_path = fonts/liberationmono.ttf
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user