From: curt Date: Sat, 7 Sep 2002 14:16:06 +0000 (+0000) Subject: Read the desired menu font from the property system (or default to X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5598d2735a3314d2c4beb4d7ab39f1ab47b054dc;p=flightgear.git Read the desired menu font from the property system (or default to typewriter.txf if it's not specified.) --- diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index f0e40a9a4..8dd66e826 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -190,7 +190,7 @@ void guiInit() } // Install our fast fonts - fntpath.append( "typewriter.txf" ); + fntpath.append(fgGetString("/sim/font", "typewriter.txf")); guiFntHandle = new fntTexFont ; guiFntHandle -> load ( (char *)fntpath.c_str() ) ; puFont GuiFont ( guiFntHandle, 15 ) ;