1
0
Fork 0

restore old default; this should probably be configurable ...

This commit is contained in:
mfranz 2006-06-06 18:36:34 +00:00
parent c5e74d090a
commit 675ff6fbc8
2 changed files with 2 additions and 2 deletions

View 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;

View 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");