mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
fix glcd font
Origin commit data
------------------
Branch: ni/coolstream
Commit: 95c5972d94
Author: TangoCash <eric@loxat.de>
Date: 2022-10-31 (Mon, 31 Oct 2022)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -659,7 +659,7 @@ void cGLCD::updateFonts()
|
|||||||
|
|
||||||
if (!fonts_initialized || (fontsize_smalltext_new != fontsize_smalltext)) {
|
if (!fonts_initialized || (fontsize_smalltext_new != fontsize_smalltext)) {
|
||||||
fontsize_smalltext = fontsize_smalltext_new;
|
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;
|
t.glcd_font = g_settings.font_file;
|
||||||
font_smalltext.LoadFT2(t.glcd_font, "UTF-8", fontsize_smalltext);
|
font_smalltext.LoadFT2(t.glcd_font, "UTF-8", fontsize_smalltext);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user