In order to enable simply linking in fonts, symlinks needs to be enabled
in PHYSFS, please see attached patch.

A very rough fix for this bug would be to remove fonts in the tarball
and use egoboo-data.links:
pathto/DejaVuSans.ttf pathto/Mael.ttf

Of course, there will be better alternatives than DejaVu.
And of course, the best solution would be to talk to upstream and ask
them to de-bundle and use free fonts.

-- 
Martin Erik Werner <martinerikwer...@gmail.com>
Description: Enable PHYSFS symlinks
 Since we want to use symlinks to replace non-free fonts, symlinks needs to be
 enabled in PHYSFS.
Forwarded: no
Author: Martin Erik Werner <martinerikwer...@gmail.com>
Last-Update: 2012-03-14

diff --git a/src/game/egoboo_vfs.c b/src/game/egoboo_vfs.c
index 4623b9a..dfc6ad5 100755
--- a/src/game/egoboo_vfs.c
+++ b/src/game/egoboo_vfs.c
@@ -153,6 +153,9 @@ void vfs_init()
     snprintf( tmp_path, SDL_arraysize( tmp_path ), "%s" SLASH_STR, fs_getDataDirectory() );
     PHYSFS_init( tmp_path );
 
+    // Enable symlinks
+    PHYSFS_permitSymbolicLinks ( 1 );
+
     //---- !!!! make sure the basic directories exist !!!!
 
     // ensure that the /user dierectory exists
@@ -2599,4 +2602,4 @@ void vfs_set_base_search_paths()
 
     // Put base path on search path...
     PHYSFS_addToSearchPath( fs_getDataDirectory(), 1 );
-}
\ No newline at end of file
+}

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to