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

jociel

  • Guest
Exception: Font not found.
« on: 19 May 2007, 14:10:40 »
I tried to install the glest on ubuntu edge amd64 with nvidia, but when I run glest I get the following error: Exception: Font not found.

I was edited the file glest.ini and changed the attributes FontConsole, FontDisplay and FontMenu without sucess,

I tried the following values:
#FontConsole=-microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
#FontDisplay=-microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
#FontMenu=-microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
#FontConsole=-*-*-*-*-*-*-*-*-*-*-*-*-*
#FontDisplay=-*-*-*-*-*-*-*-*-*-*-*-*-*
#FontMenu=-*-*-*-*-*-*-*-*-*-*-*-*-*
#FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
#FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
#FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
#FontConsole=-adobe-helvetica-medium-r-normal--0-0-75-75-p-0-iso8859-1
#FontDisplay=-adobe-helvetica-medium-r-normal--0-0-75-75-p-0-iso8859-1
#FontMenu=-adobe-helvetica-medium-r-normal--0-0-75-75-p-0-iso8859-1
FontConsole=-*-bitstream vera serif-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-bitstream vera serif-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-bitstream vera serif-*-*-*-*-12-*-*-*-*-*-*-*
#FontConsole=-*-clean-*-*-normal-*-*-*-*-*-*-*-iso8859-1
#FontDisplay=-*-clean-*-*-normal-*-*-*-*-*-*-*-iso8859-1
#FontMenu=-*-clean-*-*-normal-*-*-*-*-*-*-*-iso8859-1
#FontConsole=*-utopia-*-*-*-*-12-*-*
#FontDisplay=*-utopia-*-*-*-*-12-*-*
#FontMenu=*-utopia-*-*-*-*-12-*-*


When I run xlsfonts, I get the following fonts and others:

-adobe-helvetica-medium-r-normal--0-0-75-75-p-0-iso8859-1
-bitstream-bitstream vera serif-bold-r-normal--0-0-0-0-p-0-iso10646-1
-bitstream-bitstream vera serif-bold-r-normal--0-0-0-0-p-0-iso8859-1
-bitstream-bitstream vera serif-bold-r-normal--0-0-0-0-p-0-iso8859-15
-bitstream-bitstream vera serif-bold-r-normal--0-0-0-0-p-0-iso8859-9
-bitstream-bitstream vera serif-medium-r-normal--0-0-0-0-p-0-iso10646-1
-bitstream-bitstream vera serif-medium-r-normal--0-0-0-0-p-0-iso8859-1
-bitstream-bitstream vera serif-medium-r-normal--0-0-0-0-p-0-iso8859-15
-bitstream-bitstream vera serif-medium-r-normal--0-0-0-0-p-0-iso8859-9
-adobe-utopia-bold-i-normal--0-0-100-100-p-0-iso10646-1
-adobe-utopia-bold-i-normal--0-0-100-100-p-0-iso8859-1
-adobe-utopia-bold-i-normal--0-0-75-75-p-0-iso10646-1
-adobe-utopia-bold-i-normal--0-0-75-75-p-0-iso8859-1
-adobe-utopia-bold-i-normal--10-100-75-75-p-58-iso10646-1
-adobe-utopia-bold-i-normal--10-100-75-75-p-58-iso10646-1
-adobe-utopia-bold-i-normal--10-100-75-75-p-58-iso8859-1
-adobe-utopia-bold-i-normal--10-100-75-75-p-58-iso8859-1
-adobe-utopia-bold-i-normal--12-120-75-75-p-70-iso10646-1
-adobe-utopia-bold-i-normal--12-120-75-75-p-70-iso10646-1
-adobe-utopia-bold-i-normal--12-120-75-75-p-70-iso8859-1
-adobe-utopia-bold-i-normal--12-120-75-75-p-70-iso8859-1
-adobe-utopia-bold-i-normal--14-100-100-100-p-78-iso10646-1
-adobe-utopia-bold-i-normal--14-100-100-100-p-78-iso10646-1
-adobe-utopia-bold-i-normal--14-100-100-100-p-78-iso8859-1
-adobe-utopia-bold-i-normal--14-100-100-100-p-78-iso8859-1
-adobe-utopia-bold-i-normal--15-140-75-75-p-82-iso10646-1
-adobe-utopia-bold-i-normal--15-140-75-75-p-82-iso10646-1
-adobe-utopia-bold-i-normal--15-140-75-75-p-82-iso8859-1
-adobe-utopia-bold-i-normal--15-140-75-75-p-82-iso8859-1
-adobe-utopia-bold-i-normal--17-120-100-100-p-93-iso10646-1
-adobe-utopia-bold-i-normal--17-120-100-100-p-93-iso10646-1
-adobe-utopia-bold-i-normal--17-120-100-100-p-93-iso8859-1
-adobe-utopia-bold-i-normal--17-120-100-100-p-93-iso8859-1
-adobe-utopia-bold-i-normal--19-140-100-100-p-109-iso10646-1
-adobe-utopia-bold-i-normal--19-140-100-100-p-109-iso10646-1
-adobe-utopia-bold-i-normal--19-140-100-100-p-109-iso8859-1
-adobe-utopia-bold-i-normal--19-140-100-100-p-109-iso8859-1
-adobe-utopia-bold-i-normal--19-180-75-75-p-105-iso10646-1
-adobe-utopia-bold-i-normal--19-180-75-75-p-105-iso10646-1
-adobe-utopia-bold-i-normal--19-180-75-75-p-105-iso8859-1
-adobe-utopia-regular-i-normal--0-0-100-100-p-0-iso10646-1
-adobe-utopia-regular-i-normal--0-0-100-100-p-0-iso8859-1
-adobe-utopia-regular-i-normal--0-0-75-75-p-0-iso10646-1
-adobe-utopia-regular-i-normal--0-0-75-75-p-0-iso8859-1
-adobe-utopia-regular-i-normal--10-100-75-75-p-55-iso10646-1
-adobe-utopia-regular-i-normal--10-100-75-75-p-55-iso10646-1
-adobe-utopia-regular-i-normal--10-100-75-75-p-55-iso8859-1
-adobe-utopia-regular-i-normal--10-100-75-75-p-55-iso8859-1
-adobe-utopia-regular-i-normal--12-120-75-75-p-67-iso10646-1
-adobe-utopia-regular-i-normal--12-120-75-75-p-67-iso10646-1
-adobe-utopia-regular-i-normal--12-120-75-75-p-67-iso8859-1
-adobe-utopia-regular-i-normal--12-120-75-75-p-67-iso8859-1
-adobe-utopia-regular-i-normal--14-100-100-100-p-74-iso10646-1
-adobe-utopia-regular-i-normal--14-100-100-100-p-74-iso10646-1
-adobe-utopia-regular-i-normal--14-100-100-100-p-74-iso8859-1
-adobe-utopia-regular-i-normal--14-100-100-100-p-74-iso8859-1
-adobe-utopia-regular-i-normal--15-140-75-75-p-79-iso10646-1
-adobe-utopia-regular-i-normal--15-140-75-75-p-79-iso10646-1
-adobe-utopia-regular-i-normal--15-140-75-75-p-79-iso8859-1


Somebody have any idea?

Thanks in advance.
« Last Edit: 1 January 1970, 00:00:00 by jociel »

jociel

  • Guest
(No subject)
« Reply #1 on: 19 May 2007, 17:22:38 »
I fix the problem compiling from the source at svn and replacing utopia in glest.ini by helvetica. I used the following commands to compile, from trunk/mk/linux directory:

find . -type f -exec dos2unix {} \;
./autogen.sh
./configure
jam

I needed to edit the file "glest_game/../shared_lib/include/../include/graphics/particle.h" and remove extra qualification in the following definition:
static Trajectory strToTrajectory(const string &str);

I needed to remove the file "/build/x86_64-unknown-linux-gnu/optimize/glest_game/types/command_type.o' and rerun the jam command more than once.

Now, the game has another problem: when I click on the first option on menu, after the glest presentation, I get the following error:
<quote>
Couldn't process event: Node "camera" doesn't have 1 children named  "custom-game-position"

Tree: camera (start-position root-position about-position config-position info-position settings-position start-rotation root-rotation about-rotation config-rotation info-rotation settings-rotation )
</quote>

I will open a new topic for this.
« Last Edit: 1 January 1970, 00:00:00 by jociel »

 

anything