MegaGlest Forum

Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: daemoon on 2 February 2008, 18:12:26

Title: Exception: Font not found.
Post by: daemoon on 2 February 2008, 18:12:26
I just downloaded and compiled Glest 3.0 for my Debian GNU/Linux. After this I wanted to start the game (./glest), but it only said "Exception: Font not found.". Now I looked in the file named "glest.ini", and saw that "verdana" is necassary for playing Glest. I installed the package "msttcorefonts" included in the Debian repositories and tried starting the game again, but it just put the same error message again...
Can anyone tell me, how to solve my problem?
Title:
Post by: martiño on 2 February 2008, 18:23:18
It looks like you are using the wrong glest.ini, you should be using the linux one included in the source package.
Title:
Post by: daemoon on 2 February 2008, 18:31:21
Hmm I replaced the old one by the one in the package glest data. Now I just copied the old one to it's place and tried to start the game again.

Code: [Select]
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
Exception: Font not found.


What shall I do now?
Title:
Post by: martiño on 2 February 2008, 18:50:24
you need the linux one, it is in the source package, not in the data one
Title:
Post by: daemoon on 2 February 2008, 18:55:35
Yes I copied the one from the source package on the place, where it must be, as I wanted to say with "Now I just copied the old one to it's place and tried to start the game again. "
Title:
Post by: martiño on 2 February 2008, 19:02:29
You might still not have the required font, just replace the font in glest.ini by one that your system supports.
Title:
Post by: hailstone on 3 February 2008, 09:30:07
I agree, other people had the same problem and fixed it by changing the font in glest.ini
Title:
Post by: daemoon on 3 February 2008, 11:43:50
Oh you're right. I set the font to Arial, which I installed before, and now it works. Thank you!
Title:
Post by: matheos on 15 February 2008, 20:29:26
i've got that problem to!! distro is linuxmint 4 ...based on ubuntu 7.10

i've try to change it for FreeMono ... but i got a segmentation fault when i've tried to run it... now i've set it for FreeSans and it's working well.... tanks guys...

maybe coders are better to change the default font!!

have a good one guys!!
Title:
Post by: MatzeB on 16 February 2008, 14:16:03
should be fixed in svn r121. (You can also simply change your glest.ini to use -*-*-*-*-*-*-12-*-*-*-*-*-*-* as font instead of -*-utopia-*-*-*-*-12-*-*-*-*-*-*-*)
Title:
Post by: weedkiller on 20 February 2008, 17:41:49
Does anybody know which types of fonts glest can use under linux?
It seems to me that i cannot choose the truetype(orwhatevertheyare) fonts which i can choose in openoffice.
I found a couple of fonts which all work and which are basics of linux as it seems.
http://http://andrew.triumf.ca/fonts/fonts.html
They are descriped as bitmapped fonts; so does glest only support bitmapfonts?

The issue why i ask; there is a problem using the greek.lng translationfile under Linux. It was written for windows and so the special font which it requires to display the text (in uft-8? don't know) is not availible on linux.

So, i think we need searching a bitmapfont which supports utf-8 or at least greek letters?

Another way could be to use symbol, but then we need to write a new translationfile  :O