From 088cd23c6868a9d0159554610780e8aa0d0e8249 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 27 Jan 2018 14:57:31 +0100 Subject: [PATCH] - neutrinofonts: add a bit debug output to new SetupShellFont() function Signed-off-by: Thilo Graf --- src/driver/neutrinofonts.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/neutrinofonts.cpp b/src/driver/neutrinofonts.cpp index 997880b8b..24d6f7d9b 100644 --- a/src/driver/neutrinofonts.cpp +++ b/src/driver/neutrinofonts.cpp @@ -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()