]> git.mxchange.org Git - flightgear.git/commitdiff
restore old default; this should probably be configurable ...
authormfranz <mfranz>
Tue, 6 Jun 2006 18:36:34 +0000 (18:36 +0000)
committermfranz <mfranz>
Tue, 6 Jun 2006 18:36:34 +0000 (18:36 +0000)
src/Cockpit/panel.cxx
src/Cockpit/panel_io.cxx

index f9924fbd48359c71251a36cd3afc4063fd9a39db..15170c786c0f7f96ea321972d2c29e37bc20c2ba 100644 (file)
@@ -988,7 +988,7 @@ FGTexturedLayer::draw ()
 ////////////////////////////////////////////////////////////////////////
 
 FGTextLayer::FGTextLayer (int w, int h)
-  : FGInstrumentLayer(w, h), _pointSize(14.0), _font_name("default.txf")
+  : FGInstrumentLayer(w, h), _pointSize(14.0), _font_name("Helvetica.txf")
 {
   _then.stamp();
   _color[0] = _color[1] = _color[2] = 0.0;
index 6c624e2fce4fb48213f8f1a41e54c826f76a31f0..6fd0f23d60d0ef0d93ea1e3e7097d927af2be8f4 100644 (file)
@@ -491,7 +491,7 @@ readLayer (const SGPropertyNode * node, float w_scale, float h_scale)
     tlayer->setPointSize(pointSize);
 
                                // Set the font.
-    string fontName = node->getStringValue("font", "default");
+    string fontName = node->getStringValue("font", "Helvetica");
     tlayer->setFontName(fontName);
 
     const SGPropertyNode * chunk_group = node->getNode("chunks");