- neutrinofonts: add a bit debug output to new SetupShellFont() function

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-01-27 14:57:31 +01:00
committed by Thilo Graf
parent 6204eaecb4
commit 088cd23c68

View File

@@ -215,6 +215,8 @@ void CNeutrinoFonts::SetupShellFont()
std::string shell_font_name = g_shellFontRenderer->getFamily(shell_ttf.c_str());
int shell_font_size = CFrameBuffer::getInstance()->scale2Res(shell_font.defaultsize)/* + shell_font.size_offset * fontDescr.size_offset*/;
g_ShellFont = g_shellFontRenderer->getFont(shell_font_name.c_str(), fontStyle[shell_font.style].c_str(), shell_font_size);
if (g_ShellFont)
dprintf(DEBUG_NORMAL, "[CNeutrinoFonts] [%s - %d] shell font family: %s (%s)\n", __func__, __LINE__, shell_font_name.c_str(), shell_ttf.c_str());
}
void CNeutrinoFonts::refreshDynFonts()