I used the bleeding-edge CVS Crystal Space from a couple months ago to make my program. I don't think that matters though. I suspect that my dlls are a lot smaller than yours because I built Crystal Space in release mode, instead of debug mode. However, I am not certain if this is the case.
As for using custom fonts, you can follow the online documentation at http://crystalspace3d.org/docs/online/manual-cvs/cs_4.12.1.php and the following section http://crystalspace3d.org/docs/online/manual-cvs/cs_4.12.2.php#4.12.2
After you make a call to LoadFont(...), make sure that it was successful by checking that the "font" pointer is not NULL. If it is, then maybe your VFS is not configured correctly. It probably is, though, since the documentation code just assumes you're using the default VFS.cfg file in the root CS directory. Another mistake (that seems to be common and that I made as well) is using the wrong font server. In the section of your code where you request all those plugins, look for
CS_REQUEST_FONTSERVER
and replace it with
CS_REQUEST_PLUGIN("crystalspace.font.server.freetype2", iFontServer)
It turns out that CS_REQUEST_FONTSERVER is a #define for the non-freetype font server, which cannot load ttf files. I hope this helps!
-yoshi
As for using custom fonts, you can follow the online documentation at http://crystalspace3d.org/docs/online/manual-cvs/cs_4.12.1.php and the following section http://crystalspace3d.org/docs/online/manual-cvs/cs_4.12.2.php#4.12.2
After you make a call to LoadFont(...), make sure that it was successful by checking that the "font" pointer is not NULL. If it is, then maybe your VFS is not configured correctly. It probably is, though, since the documentation code just assumes you're using the default VFS.cfg file in the root CS directory. Another mistake (that seems to be common and that I made as well) is using the wrong font server. In the section of your code where you request all those plugins, look for
CS_REQUEST_FONTSERVER
and replace it with
CS_REQUEST_PLUGIN("crystalspace.font.server.freetype2", iFontServer)
It turns out that CS_REQUEST_FONTSERVER is a #define for the non-freetype font server, which cannot load ttf files. I hope this helps!
-yoshi
Thank u this instructions.







