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

This commit is contained in:
zhongjin 2023-03-18 15:04:55 +08:00
parent 8026a3d445
commit b51edb8728

View File

@ -133,7 +133,8 @@ 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");
_font = FGFontCache::instance()->getTexFont(fontName); _font = FGFontCache::instance()->getTexFont(fontName);
} }
if (!_font) if (!_font)