4.0 blank fields? urgent help!

For people working on the C++ code.
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:

4.0 blank fields? urgent help!

by azekill_DIABLO » Post

Hi, i'm working on minetest 4.0 (don't ask me why) and i have this
Image
blank text fields! why a white font, it's impossible to read anything... which source files must i change?
Attachments
blank fields.png
(11.06 KiB) Not downloaded yet
Last edited by azekill_DIABLO on Tue Jul 18, 2017 15:29, edited 1 time in total.

User avatar
Linuxdirk
Member
Posts: 2555
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: 4.0 blank fields?

by Linuxdirk » Post

azekill_DIABLO wrote:Hi, i'm working on minetest 4.0
So you're from the future? :D

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

Re: 4.0 blank fields?

by azekill_DIABLO » Post

yes sir, from the year 2055. I have good news: Minetest is better than MC! But about those blank fields sir?

User avatar
Linuxdirk
Member
Posts: 2555
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: 4.0 blank fields?

by Linuxdirk » Post

azekill_DIABLO wrote:yes sir, from the year 2055. I have good news: Minetest is better than MC! But about those blank fields sir?
Awesome! Welcome, time traveler. Let me just get my time traveling pants and let's go back to the future!

About those pesky blank fields, how did you compile Minetest and what font setting do you use in your minetest.conf file?

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

Re: 4.0 blank fields?

by azekill_DIABLO » Post

i did compile minetest with a compiler... no just kidding! It's a linux build with cmake, the font, well... it seems like the font is built in irrlicht or something like that. I appears when no font is valid :)

User avatar
Linuxdirk
Member
Posts: 2555
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: 4.0 blank fields?

by Linuxdirk » Post

When you run minetest --version it outputs the compile options.

What happens when you configure a valid font?

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

Re: 4.0 blank fields?

by azekill_DIABLO » Post

minetest 4.1 <<<

valid font is exactly same!

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

Re: 4.0 blank fields?

by azekill_DIABLO » Post

Code: Select all

irr::gui::IGUIEditBox::setOverrideColor (irr::video::SColor(255,255,0,0))
i made this code sample, it should solve the problem, but, what a surprise... it doesn't work. My c++ syntax is more than horrible, could someone make this work? thank you!

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

Re: 4.0 blank fields?

by azekill_DIABLO » Post

hey?

User avatar
Linuxdirk
Member
Posts: 2555
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: 4.0 blank fields?

by Linuxdirk » Post

Hey.

Never encountered that. Still too less information. What OS, if Linux: what theme and what WM/DE and distribution, does it happen with the latest dev version, does it happen with fresh profile?

User avatar
v-rob
Member
Posts: 752
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
Location: Right behind you.

Re: 4.0 blank fields?

by v-rob » Post

Well, when I take a look at your screenshot, I can see that it is not the font that is the problem, but the places you write in. They should be light grey, not white. I don't know how to fix this in the engine, but you can look in the data file and edit fontlucida.png to have black letters. There always should be a font file. But how to fix the white backgrounds, I have no idea.

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

Re: 4.0 blank fields?

by Calinou » Post

Just so you know, this is a bug caused in very old versions of Minetest when using Irrlicht 1.8 or later. Linking these Minetest versions to Irrlicht 1.7 instead should solve it.

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

Re: 4.0 blank fields?

by azekill_DIABLO » Post

Calinou wrote:Just so you know, this is a bug caused in very old versions of Minetest when using Irrlicht 1.8 or later. Linking these Minetest versions to Irrlicht 1.7 instead should solve it.
yes, okay. How to do that :D ?

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

Re: 4.0 blank fields? urgent help!

by azekill_DIABLO » Post

i tried linking to irrlicht 1.7.3 and it does nothing different actually :/

this code sample taken from irrlicht manual should work

Code: Select all

virtual void irr::gui::IGUIEditBox::setDrawBackground (false);
but it won't... can someone tell me what is wrong with it?

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

Re: 4.0 blank fields? urgent help!

by azekill_DIABLO » Post

bump: i need an answer please :(

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

Re: 4.0 blank fields? urgent help!

by azekill_DIABLO » Post

Wrong topic sry

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest