Author Topic: Exception: Font not found.  (Read 6521 times)

daemoon

  • Guest
Exception: Font not found.
« 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?
« Last Edit: 1 January 1970, 00:00:00 by daemoon »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #1 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.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

daemoon

  • Guest
(No subject)
« Reply #2 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?
« Last Edit: 1 January 1970, 00:00:00 by daemoon »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #3 on: 2 February 2008, 18:50:24 »
you need the linux one, it is in the source package, not in the data one
« Last Edit: 1 January 1970, 00:00:00 by martiño »

daemoon

  • Guest
(No subject)
« Reply #4 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. "
« Last Edit: 1 January 1970, 00:00:00 by daemoon »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #5 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.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
(No subject)
« Reply #6 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
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

daemoon

  • Guest
(No subject)
« Reply #7 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!
« Last Edit: 1 January 1970, 00:00:00 by daemoon »

matheos

  • Guest
(No subject)
« Reply #8 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!!
« Last Edit: 1 January 1970, 00:00:00 by matheos »

MatzeB

  • Guest
(No subject)
« Reply #9 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-*-*-*-*-*-*-*)
« Last Edit: 1 January 1970, 00:00:00 by MatzeB »

weedkiller

  • Draco Rider
  • *****
  • Posts: 277
    • View Profile
(No subject)
« Reply #10 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
« Last Edit: 1 January 1970, 00:00:00 by weedkiller »

 

anything