更新 'src/Instrumentation/HUD/HUD.cxx'

This commit is contained in:
zhongjin 2023-03-18 15:09:27 +08:00
parent b51edb8728
commit 1b8925c25d

View File

@ -134,7 +134,7 @@ void HUD::init()
std::string fontName; std::string fontName;
if (!_font) { if (!_font) {
// fontName = fgGetString("/sim/hud/font/name", "Helvetica.txf"); // fontName = fgGetString("/sim/hud/font/name", "Helvetica.txf");
fontName = fgGetString("/sim/hud/font/name", "sans14_zh_CN.txf"); fontName = fgGetString("/sim/hud/font/name", "sansbold20_zh_CN.txf");
_font = FGFontCache::instance()->getTexFont(fontName); _font = FGFontCache::instance()->getTexFont(fontName);
} }
if (!_font) if (!_font)