From 188f7bbad2309ea2c96d31f3a10f6ca6e1ee87bd Mon Sep 17 00:00:00 2001 From: TangoCash Date: Mon, 31 Oct 2022 07:42:55 +0100 Subject: [PATCH] fix glcd font Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/95c5972d94cb100a2b02d15bd99a710e53e62308 Author: TangoCash Date: 2022-10-31 (Mon, 31 Oct 2022) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/glcd/glcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/glcd/glcd.cpp b/src/driver/glcd/glcd.cpp index 5012c1025..48a606c2e 100644 --- a/src/driver/glcd/glcd.cpp +++ b/src/driver/glcd/glcd.cpp @@ -659,7 +659,7 @@ void cGLCD::updateFonts() if (!fonts_initialized || (fontsize_smalltext_new != fontsize_smalltext)) { fontsize_smalltext = fontsize_smalltext_new; - if (!font_smalltext.LoadFT2(FONTDIR "/oled/terminator.ttf", "UTF-8", fontsize_smalltext)) { + if (!font_smalltext.LoadFT2(t.glcd_font, "UTF-8", fontsize_smalltext)) { t.glcd_font = g_settings.font_file; font_smalltext.LoadFT2(t.glcd_font, "UTF-8", fontsize_smalltext); }