diff options
author | Vincent Robinson <robinsonvincent89@gmail.com> | 2021-12-30 12:54:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 12:54:21 -0800 |
commit | 4a16ab3585dafdf4d36b2807a1ee9507be64b363 (patch) | |
tree | 1e29c6719de7a9a2e9982cfe662c981b245523ab /minetest.conf.example | |
parent | 14c7fae378fc40f88d3c430dea2cb726afc005b1 (diff) | |
download | minetest-4a16ab3585dafdf4d36b2807a1ee9507be64b363.tar.gz minetest-4a16ab3585dafdf4d36b2807a1ee9507be64b363.tar.bz2 minetest-4a16ab3585dafdf4d36b2807a1ee9507be64b363.zip |
Improve TTF support for pixel-style fonts (#11848)
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index 3f4d01420..919c2d52c 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1055,6 +1055,12 @@ # type: int min: 1 # font_size = 16 +# For pixel-style fonts that do not scale well, this ensures that font sizes used +# with this font will always be divisible by this value, in pixels. For instance, +# a pixel font 16 pixels tall should have this set to 16, so it will only ever be +# sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +# font_size_divisible_by = 1 + # Path to the default font. # If “freetype” setting is enabled: Must be a TrueType font. # If “freetype” setting is disabled: Must be a bitmap or XML vectors font. @@ -1073,7 +1079,13 @@ # Font size of the monospace font in point (pt). # type: int min: 1 -# mono_font_size = 15 +# mono_font_size = 16 + +# For pixel-style fonts that do not scale well, this ensures that font sizes used +# with this font will always be divisible by this value, in pixels. For instance, +# a pixel font 16 pixels tall should have this set to 16, so it will only ever be +# sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +# mono_font_size_divisible_by = 1 # Path to the monospace font. # If “freetype” setting is enabled: Must be a TrueType font. |