From: mfranz Date: Fri, 27 Jan 2006 08:01:31 +0000 (+0000) Subject: fonts are now delivered by FGFontCache (except for the splash screen, X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54ee68291b49b81845f595a7cdae75ffdd2e70b2;p=flightgear.git fonts are now delivered by FGFontCache (except for the splash screen, because this comes way before the gui subsystem is ready) --- diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index a76dbe1c7..f6f48a783 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -319,14 +319,6 @@ FGDialog::FGDialog (SGPropertyNode * props) : _object(0), _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); } diff --git a/src/GUI/dialog.hxx b/src/GUI/dialog.hxx index 0895ce9c2..295945e95 100644 --- a/src/GUI/dialog.hxx +++ b/src/GUI/dialog.hxx @@ -163,8 +163,6 @@ private: // dialog closes. char ** make_char_array (int size); vector _char_arrays; - - SGPath _font_path; }; //