only load default font if it's the ttf one, not the bam one

This commit is contained in:
rdb 2013-10-23 16:38:48 +00:00
parent 8383427022
commit bf270fadc1
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ init_librocket() {
Rocket::Core::Initialise();
#ifdef COMPILE_IN_DEFAULT_FONT
#ifdef HAVE_FREETYPE
// Load Panda's default compiled-in freetype font (Perspective Sans).
Rocket::Core::FontDatabase::LoadFontFace(default_font_data, default_font_size);
#endif
#endif
}