FreeSansBold.odf
Posted: 27 Jan 2011, 16:51
Ok, I've already seen the topic about the Arch Linux guy for whom the game was not starting because of that fon't not being able to load. He found out it wasn't between the files of the package, and solved it with a symlink to that font in other package.
My problem is I do have that font in the final package. It just can't find it. This is how I compile it:
I still get a dialog window with this text:
Anyone knows what the problem is? Any missing option for Cmake?
PS: I have so many options because the way I had it before wasn't working as I expected it to:
Data was being put not relative to /usr, so /share/spring. Tried with -DDATADIR=/usr/share/spring, but then it got to /usr/share/usr/share/spring, or something like that.
My problem is I do have that font in the final package. It just can't find it. This is how I compile it:
Code: Select all
cmake \
-DAPPLICATIONS_DIR=/usr/share/applications \
-DBINDIR=/usr/bin \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DDATADIR=/usr/share/spring \
-DLIBDIR=/usr/lib \
-DMIME_DIR=/usr/share/mime \
-DPIXMAPS_DIR=/usr/share/pixmaps \
..
make
make install
And this output:Failed to load font: fonts/FreeSansBold.otf
Code: Select all
[f=0000000] Couldn't find font 'fonts/FreeSansBold.otf'.
[f=0000000] Couldn't find font 'fonts/FreeSansBold.otf'.
[f=0000000] Incorrect/Missing content: Failed to load font: fonts/FreeSansBold.otf
PS: I have so many options because the way I had it before wasn't working as I expected it to:
Code: Select all
cmake
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DDATADIR=share/spring \
..