From 675ff6fbc8490689910f2396c4f84f18503196de Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 6 Jun 2006 18:36:34 +0000 Subject: [PATCH] restore old default; this should probably be configurable ... --- src/Cockpit/panel.cxx | 2 +- src/Cockpit/panel_io.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index f9924fbd4..15170c786 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -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; diff --git a/src/Cockpit/panel_io.cxx b/src/Cockpit/panel_io.cxx index 6c624e2fc..6fd0f23d6 100644 --- a/src/Cockpit/panel_io.cxx +++ b/src/Cockpit/panel_io.cxx @@ -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");