Page 1 of 1

fonts/FreeSansBold.otf???

Posted: 11 Sep 2010, 15:47
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...

Re: fonts/FreeSansBold.otf???

Posted: 11 Sep 2010, 17:16
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.

Re: fonts/FreeSansBold.otf???

Posted: 11 Sep 2010, 22:22
by CheatCat
I did that, still get same error. Do I have recompile?

Re: fonts/FreeSansBold.otf???

Posted: 12 Sep 2010, 12:47
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.

Re: fonts/FreeSansBold.otf???

Posted: 12 Sep 2010, 14:10
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.

Re: fonts/FreeSansBold.otf???

Posted: 12 Sep 2010, 14:23
by liamdawe
So basically i was right, cheers ;)

Re: fonts/FreeSansBold.otf???

Posted: 12 Sep 2010, 17:14
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.

Re: fonts/FreeSansBold.otf???

Posted: 12 Sep 2010, 17:17
by liamdawe
What distro are you using?

Re: fonts/FreeSansBold.otf???

Posted: 12 Sep 2010, 17:21
by CheatCat
Arch Linux, but I have fixed the problem, see above. :)

Re: fonts/FreeSansBold.otf???

Posted: 06 Jul 2013, 08:20
by Google_Frog
Strangely this error is showing up for windows users with stable ZK on spring 91.0.

Re: fonts/FreeSansBold.otf???

Posted: 06 Jul 2013, 08:40
by Forboding Angel
And spring 94.1

Re: fonts/FreeSansBold.otf???

Posted: 06 Jul 2013, 11:56
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).

Re: fonts/FreeSansBold.otf???

Posted: 06 Jul 2013, 14:49
by abma
spring 94.1 doesn't run without installing it.

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