mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve TTF support for pixel-style fonts (#11848)
This commit is contained in:
parent
14c7fae378
commit
4a16ab3585
4 changed files with 41 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue