]> git.mxchange.org Git - flightgear.git/commitdiff
Allow the default GUI font to be set via properties.
authorcurt <curt>
Sat, 29 Jun 2002 13:07:25 +0000 (13:07 +0000)
committercurt <curt>
Sat, 29 Jun 2002 13:07:25 +0000 (13:07 +0000)
src/GUI/gui.cxx

index f49f14d2aeb9f33fafa92adb5a1c826916492d80..847c8e0fbe7c62a9c7d8fd401b36fefa8f27e58a 100644 (file)
@@ -994,7 +994,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 ) ;