aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-29 19:55:24 +0200
committerGitHub <noreply@github.com>2021-03-29 19:55:24 +0200
commit8d89f5f0cc1db47542bd355babad06b6bda54f51 (patch)
tree50cab3ca26b0c6e3f8f6435fb0ffcc47f6b50e1c /builtin
parent5f4c78a77d99834887a714944899df92a4ebb573 (diff)
downloadminetest-8d89f5f0cc1db47542bd355babad06b6bda54f51.tar.gz
minetest-8d89f5f0cc1db47542bd355babad06b6bda54f51.tar.bz2
minetest-8d89f5f0cc1db47542bd355babad06b6bda54f51.zip
Replace fallback font nonsense with automatic per-glyph fallback (#11084)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 75efe64da..1f8bf97b7 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -859,7 +859,7 @@ font_path (Regular font path) filepath fonts/Arimo-Regular.ttf
font_path_bold (Bold font path) filepath fonts/Arimo-Bold.ttf
font_path_italic (Italic font path) filepath fonts/Arimo-Italic.ttf
-font_path_bolditalic (Bold and italic font path) filepath fonts/Arimo-BoldItalic.ttf
+font_path_bold_italic (Bold and italic font path) filepath fonts/Arimo-BoldItalic.ttf
# Font size of the monospace font in point (pt).
mono_font_size (Monospace font size) int 15 1
@@ -872,16 +872,7 @@ mono_font_path (Monospace font path) filepath fonts/Cousine-Regular.ttf
mono_font_path_bold (Bold monospace font path) filepath fonts/Cousine-Bold.ttf
mono_font_path_italic (Italic monospace font path) filepath fonts/Cousine-Italic.ttf
-mono_font_path_bolditalic (Bold and italic monospace font path) filepath fonts/Cousine-BoldItalic.ttf
-
-# Font size of the fallback font in point (pt).
-fallback_font_size (Fallback font size) int 15 1
-
-# Shadow offset (in pixels) of the fallback font. If 0, then shadow will not be drawn.
-fallback_font_shadow (Fallback font shadow) int 1
-
-# Opaqueness (alpha) of the shadow behind the fallback font, between 0 and 255.
-fallback_font_shadow_alpha (Fallback font shadow alpha) int 128 0 255
+mono_font_path_bold_italic (Bold and italic monospace font path) filepath fonts/Cousine-BoldItalic.ttf
# Path of the fallback font.
# If “freetype” setting is enabled: Must be a TrueType font.