1
0
Fork 0

fonts are now delivered by FGFontCache (except for the splash screen,

because this comes way before the gui subsystem is ready)
This commit is contained in:
mfranz 2006-01-27 08:01:31 +00:00
parent f729ec6013
commit 54ee68291b
2 changed files with 0 additions and 10 deletions

View file

@ -319,14 +319,6 @@ FGDialog::FGDialog (SGPropertyNode * props)
: _object(0), : _object(0),
_gui((NewGUI *)globals->get_subsystem("gui")) _gui((NewGUI *)globals->get_subsystem("gui"))
{ {
char* envp = ::getenv( "FG_FONTS" );
if ( envp != NULL ) {
_font_path.set( envp );
} else {
_font_path.set( globals->get_fg_root() );
_font_path.append( "Fonts" );
}
display(props); display(props);
} }

View file

@ -163,8 +163,6 @@ private:
// dialog closes. // dialog closes.
char ** make_char_array (int size); char ** make_char_array (int size);
vector<char **> _char_arrays; vector<char **> _char_arrays;
SGPath _font_path;
}; };
// //