mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CNeutrinoFonts: Use separate font renderer for dynamic fonts
- delete / initialize font renderer only if necessary (e.g. start program, change the font file, change the scaling)
This commit is contained in:
@@ -316,7 +316,7 @@ bool CFontSizeNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_FONTSIZE_HINT)); // UTF-8
|
||||
hintBox.paint();
|
||||
|
||||
CNeutrinoApp::getInstance()->SetupFonts();
|
||||
CNeutrinoApp::getInstance()->SetupFonts(CNeutrinoFonts::FONTSETUP_NEUTRINO_FONT);
|
||||
|
||||
hintBox.hide();
|
||||
/* recalculate infoclock/muteicon/volumebar */
|
||||
|
Reference in New Issue
Block a user