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

Post Reply
User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

is it posible to change the font of minetest?
Last edited by azekill_DIABLO on Fri Apr 22, 2016 17:00, edited 1 time in total.

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: Question?

by burli » Post


User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Question?

by azekill_DIABLO » Post

ok thanks!

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

User avatar
jan6
Member
Posts: 64
Joined: Wed Dec 02, 2015 17:58
GitHub: jan69
IRC: jan6
In-game: jan6
Location: Estonia

Re: Question?

by jan6 » Post

azekill_DIABLO wrote:what must i modify exactly?

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.

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

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Question?

by azekill_DIABLO » Post

ok thanks!!!

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Question?

by azekill_DIABLO » Post

where i can found a font??

User avatar
Calinou
Moderator
Posts: 3164
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

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

by Calinou » Post

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).

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

ok thx

User avatar
jan6
Member
Posts: 64
Joined: Wed Dec 02, 2015 17:58
GitHub: jan69
IRC: jan6
In-game: jan6
Location: Estonia

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

by jan6 » Post

I know everything, exept what I know...
I have a secret..it's so secret even I don't know what it is

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests