Page 1 of 1

is it posible to change the font of minetest?[SOLVED]

PostPosted: Mon Apr 11, 2016 09:10
by azekill_DIABLO
is it posible to change the font of minetest?

Re: Question?

PostPosted: Mon Apr 11, 2016 10:08
by burli

Re: Question?

PostPosted: Mon Apr 11, 2016 10:23
by azekill_DIABLO
ok thanks!

edit: doesn't help me that much
what must i modify exactly?

Re: Question?

PostPosted: Mon Apr 11, 2016 15:56
by jan6
azekill_DIABLO wrote:what must i modify exactly?


Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
# Whether freetype fonts are used, requires freetype support to be compiled in.
# type: bool
freetype = true
# Path to TrueTypeFont or bitmap.
# type: path
font_path = fonts/liberationsans.ttf
# type: int
font_size = 15
# Font shadow offset, if 0 then shadow will not be drawn.
# type: int
font_shadow = 1
# Font shadow alpha (opaqueness, between 0 and 255).
# type: int min: 0 max: 255
font_shadow_alpha = 128
# type: path
mono_font_path = fonts/liberationmono.ttf
# type: int
mono_font_size = 15
# This font will be used for certain languages.
# type: path
fallback_font_path = fonts/DroidSansFallbackFull.ttf
# type: int
fallback_font_size = 15
# type: int
fallback_font_shadow = 1
# type: int min: 0 max: 255
fallback_font_shadow_alpha = 128

Did you try both fallback and regular font options? You can probably ignore the "mono" things.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Tried to clean up a bit...

freetype = true
font_path = fonts/liberationsans.ttf
font_size = 15
# Font shadow offset, if 0 then shadow will not be drawn.
font_shadow = 1
# Font shadow alpha (opaqueness, between 0 and 255).
font_shadow_alpha = 128

mono_font_path = fonts/liberationmono.ttf
mono_font_size = 15

# This font will be used for certain languages.
fallback_font_path = fonts/DroidSansFallbackFull.ttf
fallback_font_size = 15
fallback_font_shadow = 1
# type: int min: 0 max: 255
fallback_font_shadow_alpha = 128

Re: Question?

PostPosted: Mon Apr 11, 2016 16:48
by azekill_DIABLO
ok thanks!!!

Re: Question?

PostPosted: Mon Apr 11, 2016 16:59
by azekill_DIABLO
where i can found a font??

Re: is it posible to change the font of minetest?

PostPosted: Mon Apr 11, 2016 23:00
by Calinou
azekill_DIABLO wrote:where i can found a font??


Font Library or Google Fonts' GitHub repository (download a .zip, fonts are in apache/, ofl/ and ufl/ folders).

Re: is it posible to change the font of minetest?

PostPosted: Tue Apr 12, 2016 09:44
by azekill_DIABLO
ok thx

Re: is it posible to change the font of minetest?

PostPosted: Tue Apr 12, 2016 13:03
by jan6