diff options
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 27fb3368878..1436f18ae6c 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -400,7 +400,15 @@ int main(int argc, char** argv) */ #endif // __APPLE__ + // Setup builtin font for BLF (mostly copied from creator.c, wm_init_exit.c and interface_style.c) + BLF_init(11, U.dpi); + BLF_lang_init(); + // use default settings + BLF_lang_encoding(""); + BLF_lang_set(""); + RNA_init(); + RNA_structs_gettexted() init_nodesystem(); @@ -411,13 +419,6 @@ int main(int argc, char** argv) IMB_init(); - // Setup builtin font for BLF (mostly copied from creator.c, wm_init_exit.c and interface_style.c) - BLF_init(11, U.dpi); - BLF_lang_init(); - // use default settings - BLF_lang_encoding(""); - BLF_lang_set(""); - BLF_load_mem("default", (unsigned char*)datatoc_bfont_ttf, datatoc_bfont_ttf_size); // Parse command line options |