restore old default; this should probably be configurable ...
This commit is contained in:
parent
c5e74d090a
commit
675ff6fbc8
2 changed files with 2 additions and 2 deletions
|
@ -988,7 +988,7 @@ FGTexturedLayer::draw ()
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
FGTextLayer::FGTextLayer (int w, int h)
|
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();
|
_then.stamp();
|
||||||
_color[0] = _color[1] = _color[2] = 0.0;
|
_color[0] = _color[1] = _color[2] = 0.0;
|
||||||
|
|
|
@ -491,7 +491,7 @@ readLayer (const SGPropertyNode * node, float w_scale, float h_scale)
|
||||||
tlayer->setPointSize(pointSize);
|
tlayer->setPointSize(pointSize);
|
||||||
|
|
||||||
// Set the font.
|
// Set the font.
|
||||||
string fontName = node->getStringValue("font", "default");
|
string fontName = node->getStringValue("font", "Helvetica");
|
||||||
tlayer->setFontName(fontName);
|
tlayer->setFontName(fontName);
|
||||||
|
|
||||||
const SGPropertyNode * chunk_group = node->getNode("chunks");
|
const SGPropertyNode * chunk_group = node->getNode("chunks");
|
||||||
|
|
Loading…
Add table
Reference in a new issue