fonts/FreeSansBold.otf???

fonts/FreeSansBold.otf???

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
CheatCat
Posts: 4
Joined: 11 Sep 2010, 15:44

fonts/FreeSansBold.otf???

Post by CheatCat »

I compiled the spring engine from source and get this error:

Code: Select all

Failed to load font: fonts/FreeSansBold.otf
Where do I get that file? Cannot find it anywhere...
weepee
Posts: 13
Joined: 15 Aug 2010, 13:50

Re: fonts/FreeSansBold.otf???

Post by weepee »

You need the ÔÇ£freefontÔÇØ fonts (e.g. ttf-freefont Ubuntu package). Spring seems to run fine with the TTF fonts, so donÔÇÖt worry if you canÔÇÖt get the OTF ones.
CheatCat
Posts: 4
Joined: 11 Sep 2010, 15:44

Re: fonts/FreeSansBold.otf???

Post by CheatCat »

I did that, still get same error. Do I have recompile?
User avatar
liamdawe
Posts: 120
Joined: 19 Mar 2010, 15:09

Re: fonts/FreeSansBold.otf???

Post by liamdawe »

weepee wrote:You need the ÔÇ£freefontÔÇØ fonts (e.g. ttf-freefont Ubuntu package). Spring seems to run fine with the TTF fonts, so donÔÇÖt worry if you canÔÇÖt get the OTF ones.
Well if spring is wanting to load an otf font and he doesn't have it...it's still going to give the error isn't it...common sense.
weepee
Posts: 13
Joined: 15 Aug 2010, 13:50

Re: fonts/FreeSansBold.otf???

Post by weepee »

Except if it uses OTF fonts as a fallback when it cant find TTF ones (which I guess is not true anyway)

Actually I was thinking that since IÔÇÖve checked (by the way thatÔÇÖs what I personally use to call ÔÇ£common senseÔÇØ) that there was no OTF fonts on my system nor in the Spring sources. IÔÇÖve just re-checked the sources (common thing again) and obviously IÔÇÖve missed this file: spring_0.82.5.1/cont/fonts/FreeSansBold.otf.

In short, if you donÔÇÖt have the file /usr/local/share/games/spring/fonts/FreeSansBold.otf (assuming default install paths), then something went wrong during compilation or installation.
User avatar
liamdawe
Posts: 120
Joined: 19 Mar 2010, 15:09

Re: fonts/FreeSansBold.otf???

Post by liamdawe »

So basically i was right, cheers ;)
CheatCat
Posts: 4
Joined: 11 Sep 2010, 15:44

Re: fonts/FreeSansBold.otf???

Post by CheatCat »

So... Where do I get the font?

EDIT: Just move FreeSansBold.ttf to where you have installed the other stuff and rename it to FreeSansBold.otf works.
Last edited by CheatCat on 12 Sep 2010, 17:19, edited 1 time in total.
User avatar
liamdawe
Posts: 120
Joined: 19 Mar 2010, 15:09

Re: fonts/FreeSansBold.otf???

Post by liamdawe »

What distro are you using?
CheatCat
Posts: 4
Joined: 11 Sep 2010, 15:44

Re: fonts/FreeSansBold.otf???

Post by CheatCat »

Arch Linux, but I have fixed the problem, see above. :)
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: fonts/FreeSansBold.otf???

Post by Google_Frog »

Strangely this error is showing up for windows users with stable ZK on spring 91.0.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: fonts/FreeSansBold.otf???

Post by Forboding Angel »

And spring 94.1
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: fonts/FreeSansBold.otf???

Post by dansan »

I have that file in $HOME/.spring/fonts/FreeSansBold.otf
It is identified my "file" as "OpenType font data" and its md5sum is e2296bd805bc307c768024ba0680b10e.

When you use a portable version, it must be in its directory (like spring_94.1_minimal-portable-linux64-static/fonts/FreeSansBold.otf).
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: fonts/FreeSansBold.otf???

Post by abma »

spring 94.1 doesn't run without installing it.

you've to run "make install" to make it work.
Post Reply

Return to “Linux”